ApplyFogColourModifier
function · lighting · primitive
- Address
0x6cf1a0· 225 bytes, up to0x6cf280- Meaning
- Tints the fog colour toward the modifier colour, under a flag nothing sets
- Confidence
- verified, proof one
- Finding
- lighting/fog#dead-fog-modifiers
- Test
lighting::fog_color_modulate_difftest
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.
Callers 1
- BuildSceneFog lighting
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.