DrawGlares
function · lighting · orchestration
- Address
0x6d48c0· 63 bytes, up to0x6d48fe- Meaning
- Updates and draws the sun glare, then the moon glare, when the sky is on
- 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.
Callers 1
Callees 2
- UpdateGlare lighting
- DrawGlare lighting
Calls and jumps by a bare address, from tables/calls.tsv.