Global Shader Variables

You can use global shader variables to change all materials at once. This can be helpful for creating in-game graphics settings.

Global Shader Variables stay changed when you exit Play Mode!

The following table contains the currently supported global shader variables.

Shader Variable
Description

_GlobalTargetDensityMultiplier

Gets multiplied with the Target Density of each grass material. Since Target Density is higher when the number is smaller (for historical reasons), be careful: A multiplier above 1 reduces the density, while a multiplier below 1 increases it.

Last updated