UpdateStars
function · lighting · primitive
- Address
0x6d1b50· 76 bytes, up to0x6d1b9b- Meaning
- Places the stars at the eye and sets their alpha from the star track
- Confidence
- verified, proof one
- Finding
- lighting/celestial#stars
- Test
lighting::dn_cam_sky_setter_difftest
Finding: Stars in lighting: sun, moons and stars
The stars are the model 0x881c70 at the camera eye with alpha a/255, a = trunc(track·254 + 1)
from the star track at the time of day, drawn only when a > 1 and advanced by the milliseconds
since its last draw.
The derivation is in the doc.
Callers 1
- UpdateCameraHeading lighting
Callees 2
- __ftol crt
- EvalSkyTrack lighting
Calls and jumps by a bare address, from tables/calls.tsv.