benilla-re systems structs docs

WriteDecalVerticesColoured

function · lighting · host

Address
0x6d7760 · 173 bytes, up to 0x6d780c
Meaning
Writes a batch's positions with the decal colour vector
Confidence
inferred
Finding
lighting/shadows#projected-decals

Finding: Projected decals in lighting: shadows

A decal is a box, a colour and a texture. The box gives two texture transforms: one maps the box's horizontal extent onto [0, 1] after a quarter turn, the other its height onto a fade coordinate. The draw tests the box against the view, sets the texture, the bias and the colour, and draws every collected world batch with the transform, as white with the colour's alpha or with the colour itself.

The derivation is in the doc.

Callers 1

Callees 4

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