s_fogModifierColour
global · lighting
- Address
0xce99d0· 4 bytes, up to0xce99d3- Type
uint32_t- Meaning
- Holds the fog modifier colour, used only under a flag nothing sets
- Confidence
- verified, proof one
- Finding
- lighting/clouds#cloud-dome
Finding: Cloud dome in lighting: clouds
The clouds draw on a dome of one apex and eleven rings of 16 columns at polar angles 0, 0.025π, 0.05π, … 0.205π, 0.23π, 0.245π, 0.25π, built at radius 1.0 and dropped by cos 45° like the gradient. Ring k's texture coordinate is (sin φ, cos φ)·k/22 + 0.5 and its colour white with alpha 255 for rings 0 to 8, 128 for ring 9 and 0 for rings 10 and 11. The draw uses the texture, blend 2 and render states 0xe, 0xf, 0x12 and 0x14 at 0; it skips a cloud object without a texture.
The derivation is in the doc.