DrawBlobShadowIfOn
function · lighting · orchestration
- Address
0x6d78f0· 38 bytes, up to0x6d7915- Signature
void __thiscall (void *this)- Meaning
- Draws a model's blob shadow when it is loaded and shadowLOD is 1
- 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
- DrawEntityModels terrain
Callees 2
- DrawBlobShadow lighting
- CM2Model::IsReady models
Calls and jumps by a bare address, from tables/calls.tsv.