benilla-re systems structs docs

s_useWeatherShadersVar

global · lighting

Address
0xc7b588 · 4 bytes, up to 0xc7b58b
Type
void *
Meaning
Holds the useWeatherShaders setting
Confidence
verified, proof one
Finding
lighting/weather#weather-settings

Finding: Weather settings in lighting: weather

weatherDensity (0 to 3) picks the effect scale K: 0.1, 0.33, 0.66 or 1.0, and a change sets the manager's ramp-now byte so the effects take the new scale on the next frame. useWeatherShaders at 0 sends every effect to its fixed-function draw. The Internal option force weather type on, read at start-up, sets a type of 1 to 3 at grade 1.0 with no ramp and locks the weather: every later message and every reset is ignored.

The derivation is in the doc.