benilla-re systems structs docs

s_skyDepthFar

global · unassigned

Address
0x80fec0 · 4 bytes, up to 0x80fec3
Type
const float
Meaning
Holds 0.98, the far end of the sky's depth slice
Confidence
verified, proof one
Finding
lighting/sky#sky-pass

Finding: Sky pass in lighting: sky

When the sky is on, the pass sets the depth range to [0.975, 0.98] and draws, in order, the stars, the sun disc, the white moon, moon02, the gradient dome and the clouds, unless a loaded skybox has a weight above 0.99. It then draws the skyboxes and restores the viewport. The world scene runs it before the terrain and map objects when the camera is dry, and the low-detail areas run it too.

The derivation is in the doc.