Easy Flag Cloth Shader

$7
Publisher DBUIT GAMES
File size 2.19MB
Number of files 16
Latest version 1
Latest release date 2022-01-06 11:23:13
First release date 2022-01-06 11:23:13
Supported Unity versions 2018.4.2 or higher

Add a nice and basic windy effect to your flag/cloth with this shader, combining horizontal and vertical sinusoidal movements with customized anchors.


Features:

-Customize Standard PBR properties (Color, Albedo, Normal and Smoothness).

-Customize horizontal/vertical wavy movement (Speed, Frequency and amplitude) and all possible combinations of both.

-Customize horizontal and vertical anchors (left, right, top, bottom, middle...) independently or combined.


Useful for:

-Basic Flag/cloth windy effect for your game through the shader.

-Optimization; The features of the Shader can be Enabled/Disabled in order to get compiled or not, helping performance.



Render Pipelines:

-Only for BuiltIn Render Pipeline


Technical details:

-Features of the shader that can be activated with Enable/Disable are programmed as "shader features", helping performance as these features get only compiled when they are enabled.

-Camera must be in "Perspective Projection". Orthographic projection will not render properly.

-Mesh's UVs must be completely unwrapped from 0 to 1, as it needs that data for anchoring.

-Preferably set "Cast Shadows / Off" in the Gameobject as it will not cast the vertex modification in the shadow, only the static plane. This can cause strange shadow effects depending on the perspective.

Top Publisher Assets