benilla-re systems structs docs

s_shadowGreyRamp

global · lighting

Address
0xce9df4 · 4 bytes, up to 0xce9df7
Type
void *
Meaning
Holds the grey ramp texture
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.