Wind Effect and Wind Controller
The wind effect can be used to create back-and-forth movement on any mesh. With Use Vertical Mask? ticked, the movement scales with the height of each vertex in the mesh’s own space: nothing at Min Y, full strength at Max Y. This is useful for elements like grass, where the base stays put while the top moves.
Above Max Y the scaling keeps going, so vertices there move further. Below Min Y, vertices stay still from version 2.81. Version 2.8 kept scaling there too, so those vertices moved the opposite way to the wind. The defaults are -1 and 1, so a mesh whose base sits at height 0 will still move at the base until you set Min Y to that height.
Settings for grass, bushes and trees, and wind by hand in Shader Graph: Wind on Grass and Trees in Unity URP.


Adding a Wind Controller
Section titled “Adding a Wind Controller”To use this effect you’ll need to have a Wind Controller in an active Gameobject of your scene, with a noise texture assigned to its Wind Noise field. It starts empty.

Wind Controller fields
Section titled “Wind Controller fields”- windForce: Overall strength of the wind effect. Higher values create stronger wind displacement.
- noiseSpeed: Speed of noise texture scrolling (X,Y). Higher values create faster wind movement.
- bidirectionalWind: When enabled, wind can push objects in both positive and negative directions. When disabled, wind only pushes in the positive direction.
- useWindDir: When enabled, the wind blows along this GameObject’s forward direction, flattened to the ground. When disabled, it moves vertices on X and Z. Wind never moves vertices up or down.
- worldSize: Scale of the noise texture in world space. Larger values spread the wind pattern across a bigger area.
- windNoise: Texture used to generate wind displacement patterns. With useWindDir off the red channel drives X and the blue channel drives Z. With it on, the three channels are averaged.
