benilla-re systems structs docs

OnShadowLodChanged

function · lighting · host

Address
0x6d8450 · 212 bytes, up to 0x6d8523
Meaning
Stores shadowLOD 0 or 1 and at 1 refills the ramp textures
Confidence
verified, proof one
Finding
lighting/shadows#shadow-settings

Finding: Shadow settings in lighting: shadows

shadowLOD, 0 or 1 and 1 by default, turns the blob shadow on at 1; setting it to 1 also refills the two ramp textures. shadowBias, 0 to 1 and 0.1 by default, is the depth bias a decal draws with, at 2·bias/32768; at 0 the decal sets no bias. Values outside the range are refused with a console message.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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