benilla-re systems structs docs

ShutdownShadows

function · lighting · host

Address
0x6d8420 · 46 bytes, up to 0x6d844d
Signature
void __cdecl (void)
Meaning
Releases the blob and ramp textures
Confidence
inferred
Finding
lighting/shadows#shadow-textures

Finding: Shadow textures in lighting: shadows

The unit setup loads Textures\ShadowBlob.blp and builds two 64 × 8 procedural textures; the unit shutdown releases all three. The first is white with a computed alpha; the second is a grey ramp across the 64 columns: with f = 12·i/63, the darkness is f/2 below 2, 1 from 2 to 10 and (12 − f)/2 above, and a texel's alpha is 0 where it is white.

The derivation is in the doc.

Callers 1

Callees 2

Calls and jumps by a bare address, from tables/calls.tsv.