SetSkyboxSlot
function · lighting · orchestration
- Address
0x6d4810· 71 bytes, up to0x6d4856- Meaning
- Loads a skybox path into slot 0 to 2 at a weight, or clears it
- Confidence
- verified, proof one
- Finding
- lighting/daynight#skybox-slots
Finding: Skybox slots in lighting: day-night
The table's two skybox pairs at +0x78 and +0x80 become the slot handles 0xce9bbc and
0xce9bc0 with weights 0xce9bc4 and 0xce9bc8: a pair with a nonzero id below the LightSkybox
count and a weight above 0 loads its model path. The build clears all three slots first; the
override slot 0xce9bb4 is the override light's. 0x6d4810 sets a slot from outside.
The derivation is in the doc.
Callers 1
- DrawWorldScene terrain
Callees 1
- InternSkybox lighting
Calls and jumps by a bare address, from tables/calls.tsv.