benilla-re systems structs docs

UpdateStormWeight

function · lighting · primitive

Address
0x6d4500 · 47 bytes, up to 0x6d452e
Meaning
Sets the storm weight min(4·density, 1)
Confidence
verified, proof one
Finding
lighting/daynight#storm-weight
Test
lighting::cloud_density_clamp_difftest

Finding: Storm weight in lighting: day-night

The storm weight at state +0x6c is min(4·density, 1.0), with the density at state +0x40; it has no lower clamp, and a NaN density gives NaN.

The derivation is in the doc.

Callers 2

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.