ReserveAreaLightQueue
function · lighting · primitive
- Address
0x6d5ad0· 157 bytes, up to0x6d5b6c- Meaning
- Makes room for entries at the end of the area light queue, growing its array
- Confidence
- verified, proof one
- Finding
- lighting/daynight#area-lights
Finding: Area lights in lighting: day-night
The Light records around the camera blend into the base record. Each list slot from 1 whose distance d from the camera eye, √(dx² + dy² + dz²) rounded to a float, is below its outer radius joins a max-heap by d. The heap drains farthest first: each light's record is gathered as for the base, with the storm blend, and blended in by w = 1 when d ≤ inner, else 1 − (d − inner) / (outer − inner). The nearest light is blended last.
The derivation is in the doc.
Callers 1
- BlendAreaLights lighting
Callees 1
- 0x7bff20 cmath
Calls and jumps by a bare address, from tables/calls.tsv.