benilla-re systems structs docs

s_weatherForced

global · lighting

Address
0xc7b584 · 1 bytes, up to 0xc7b584
Type
uint8_t
Meaning
Holds 1 once a forced weather type is set, which locks the weather
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.