benilla-re systems structs docs

s_skyDepthSpan

global · unassigned

Address
0x80fec4 · 4 bytes, up to 0x80fec7
Type
const float
Meaning
Holds 0.005, the sky depth slice's width
Confidence
verified, proof one
Finding
lighting/celestial#glare-draw

Finding: Glare draw in lighting: sun, moons and stars

0x6d48c0 updates and draws the sun glare, then the moon glare, when the sky is on; the world frame calls it late, after the world scene and the liquid particulates (0x483740). A glare draws when enabled with a nonzero alpha byte: a camera-facing quad of half-size 0.5 times its scale at its direction, flat colour +0x18, its texture, the device's blend 3 (models/render#material-state), lighting, fog and depth writes off, in the depth range [0.995, 1.0].

The derivation is in the doc.