benilla-re systems structs docs

RecomputeLighting

function · lighting · orchestration

Address
0x6d2210 · 65 bytes, up to 0x6d2250
Meaning
Rebuilds the light table, the sun and the bodies, and the clouds
Confidence
verified, proof one
Finding
lighting/daynight#recompute

Finding: Recompute in lighting: day-night

The table is rebuilt every frame by the world's sky update. 0x6d2210 clears the interior fog blend, then runs the storm weight, the table, the sun direction and the celestial bodies, and rebuilds the cloud texture whole when its flag is set, else one band of it. The per-frame path first sets the camera heading.

The derivation is in the doc.

Callers 4

Callees 6

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