Table of contents :
Vertical Fog Shader
Description :
This shader includes a range of features that allow for the control and manipulation of the fog's visual appearance.
The aim is for the user to achieve a height-depth fog, such as a fog from below or a chasm.
Feature Lists :
-
Main Color Feature
Rendering Pipeline : Support both Built-In and URP.
Platform : Tested on PC, Android, iOS and Nintendo Switch.
Usage Example :
Example 2
Example 1
Example 3
Example 4
Main Color Feature :
This feature allows you control basic parameter of fog. Including with texture, color, intensity and alpha value.
Main Color Feature overview
Example 2 : Intensity
Example 3 : Texture On/Off
Example 4 : Alpha
Example 1 : Color
UV Animation Feature :
Create a UV animation for fog texture by rotating UV. Create movement of fog to improve fog visual.
Feature Overview
Example : Speed Adjustment
Distortion Feature :
This feature creates a wind effect on the mesh by controlling a set of parameters.
Distortion Feature overview
Distortion : Off
Distortion : On
Tools used
Shader Creation
Unity (Built-In, URP)
HLSLPROGRAM (Shader creation)
Asset creation
MAYA (Modeling, UV)
Substance Designer (Texture)
C# (Custom Editor)