benilla-re systems structs docs

s_fogModifierStart

global · lighting

Address
0xce99e8 · 4 bytes, up to 0xce99eb
Type
float
Meaning
Holds the fog modifier start clock that BuildSceneFog subtracts from the clock
Confidence
inferred
Finding
lighting/fog#dead-fog-modifiers

Finding: Dead fog modifiers in lighting: fog and the world light

The fog update has two modifiers that never run: one that scales both fogs' colours by a byte, and one that fades both fogs toward a colour over a time window, shrinking start and end. Their gate, the flag word 0xce99f8, is only ever cleared. 0x6d4910, the world's call when the sun glare dims the light, does nothing.

The derivation is in the doc.