Over 11,000 five-star assets
Rated by 85,000+ customers
Supported by 100,000+ forum members
Every asset moderated by Unity
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.
Easy Flag Cloth Shader
