benilla-re systems structs docs

DrawStars

function · lighting · primitive

Address
0x7e6120 · 152 bytes, up to 0x7e61b7
Meaning
Draws the star model when its alpha byte is 2 or more
Confidence
verified, proof one
Finding
lighting/celestial#stars
Test
lighting::d7_star_byte_norm_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

Callees 7

Calls and jumps by a bare address, from tables/calls.tsv.