OnWeatherDensityChanged
function · lighting · host
- Address
0x67b870· 118 bytes, up to0x67b8e5- Meaning
- Sets the weather scale K from weatherDensity 0 to 3 and asks the manager to ramp
- 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.
Callers 0
None by a direct call or jump.
Callees 2
- ConsoleWriteA console
- SStrToInt storm
Calls and jumps by a bare address, from tables/calls.tsv.