ConstGlobal burn 0..1: charred bark, scorched and missing leaves.
Global damage 0..1: broken branches, missing leaf mass.
Global snow cover 0..1 on upward-facing surfaces.
Sun colour × intensity.
Direction towards the sun (drives leaf back-lighting).
Global wetness 0..1: darker albedo, lower roughness.
Normalised XZ direction the wind blows towards.
How fast gusts move.
How far trees sway, 0 = still, 1 = strong wind.
Uniforms shared by every vegetation and rock material: one wind, one sun and one global weather state. Change them through setTreeEnvironment (or
.valuedirectly). A material given its own WeatherInputs ignores the global weather values it overrides.