Stylized Grass Shader (Unity 6 Documentation)

Stylized Grass Shader (Unity 6)

Stylized Grass Shader (for Unity 6)
Version: 2.0.0
Review

5.3.Controlling wind #

Normally, the wind settings are controlled on a per-material basis. The related settings can be found under the “Wind” section:

All the parameters have tooltips. Mouse over to view a description

Wind Controller

It is however possible to use a Wind Zone to influence the strength/speed values for wind. On a Stylized Grass Wind Controller component, you’ll find the option to assign one:

You can create such a component through GameObject/Effects/Grass Wind Controller

Once a Wind Zone has been assigned,

  • The “Main” parameter value will act as a multiplier for the Ambient Strength and Gusting Strength parameters on all grass materials.
  • The “Turbulence” parameter is a multiplier for just the Gusting Strength/Speed.
  • The wind direction will be set based on the Wind Zone’s forward vector (blue arrow)

 

If in effect, a notification is also displayed in the material UI:

Usage notes

If you’re using a weather system like Enviro, you can assign the Wind Zone object is has created. Should it be necessary, you can also use the static sc.stylizedgrass.runtime.WindController.SetWindZone() function to assign a specific Wind Zone reference.

It is recommend to now set the wind to its maximum strength (or activate a storm-like weather profile), then fine tune the wind strength on all grass materials to look right for this situation. This is to ensure that you know how the grass will behave under extreme circumstances.

All systems should use the same Wind Zone object, to ensure they’re synchronized.

Yes No Suggest edit
Last updated on May 1, 2026
0 of 0 users found this section helpful
If you're familiar with this asset, please consider leaving a review!
Your support is what makes complementary updates possible!
Suggest Edit