benilla-re systems structs docs

FillShadowGreyRamp

function · lighting · primitive

Address
0x6d82d0 · 321 bytes, up to 0x6d8410
Meaning
Fills the second ramp texture with the grey ramp across its columns
Confidence
inferred
Finding
lighting/shadows#shadow-textures
Test
lighting::sb_shadow_ramp_gray_0x6d82d0_difftest

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 0

None by a direct call or jump.

Callees 0

None by a direct call or jump.

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