top of page

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 :

  1. Main Color Feature

  2. UV animation Features

  3. Distortion features

Rendering Pipeline : Support both Built-In and URP.

Platform : Tested on PC, Android, iOS and Nintendo Switch.

Usage Example :

Example 2

3.gif

Example 1

Ex1.gif

Example 3

ex2.gif

Example 4

4.png

Main Color Feature :

This feature allows you control basic parameter of fog. Including with texture, color, intensity and alpha value. 

Main Color Feature overview

MainColorFeature.png

Example 2 : Intensity

Intensity.gif

Example 3 : Texture On/Off

Example 4 : Alpha

texture.gif
Alpha.gif

Example 1 : Color

Color.gif

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

Speed.gif

Distortion Feature :

This feature creates a wind effect on the mesh by controlling a set of parameters.

Distortion Feature overview

DistortionFeature.png

Distortion : Off

DistortionOff.gif

Distortion : On

DIstortionOn.gif
Icon-ToolsUse.png

Tools used

Shader Creation

Icon-Unity.png

Unity (Built-In, URP)

Icon-HLSH.png

​HLSLPROGRAM​ (Shader creation)

Asset creation

ICon-MAYA.jpg

MAYA (Modeling, UV)

Icon-SSD.png

Substance Designer (Texture)

Icon-C#.png

C# (Custom Editor)

Icon-Acknowledgements.png

Acknowledgements

Inspiration from

Monument Valley

Cyanilux

bottom of page