InitShadowBoxRatios
function · lighting · orchestration
- Address
0x6d6e20· 33 bytes, up to0x6d6e40- Meaning
- Stores the blob shadow's box ratios 5/3 and 1 at start-up
- Confidence
- inferred
- Finding
- lighting/shadows#blob-shadow
Finding: Blob shadow in lighting: shadows
A doodad model drawn with model flag 0x400 and without 0x8 casts a blob shadow when shadowLOD
is 1 and the model is loaded. The shadow is the blob texture projected over the model's first
sequence's bounds, each clamped to ±5, stretched down by 5/3 and up by 1 of a scale-derived
length, in white with the model's alpha.
The derivation is in the doc.
Callers 1
- InitShadowShadowBoxRatiosThunk lighting
Callees 1
- ThirdOf lighting
Calls and jumps by a bare address, from tables/calls.tsv.