ThirdOf
function · lighting · primitive
- Address
0x6d6e50· 16 bytes, up to0x6d6e5f- Signature
float __stdcall (float x)- Meaning
- Returns x times 1/3
- Confidence
- inferred
- Finding
- lighting/shadows#blob-shadow
- Test
lighting::sky_scale_third_difftest
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 2
- InitShadowBoxRatios lighting
- DrawBlobShadow lighting
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.