s_interiorFogRate
global · lighting
- Address
0x8115b0· 4 bytes, up to0x8115b3- Type
const float- Meaning
- Holds 0.25, the interior fog's crossfade rate per second
- Confidence
- verified, proof one
- Finding
- lighting/fog#interior-fog
Finding: Interior fog in lighting: fog and the world light
The camera crossfades into the fog of the map object group the active player stands in. When the
world's fog query returns 1, the target is the group's record 1 in water or ocean, in magma with
query flag 0x100 and in slime with 0x10, else record 0; magma and slime without the flag keep the
scene fog. The target's end is min(record end, far clip), its start the record's fraction of it;
in magma or slime the scene fog takes the target too. The weight +0x7c moves 0.25 per second
toward 1 while the query holds, else toward 0. The drawn fog +0x80 to +0x88 is the scene fog
moved toward the target by it.
The derivation is in the doc.