benilla-re systems structs docs

InitShadows

function · lighting · primitive

Address
0x6d8070 · 291 bytes, up to 0x6d8192
Signature
void __cdecl (void)
Meaning
Loads the blob texture, builds the two ramp textures and registers the shadow settings
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 5

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