ShadowStatus
Defined in: render/renderer.ts:88
What the shadow atlas gave one caster last frame.
granted below requested and above zero is a REDUCTION: a sun that kept two
cascades of four still casts, and calling that a rejection would throw away the
distinction the frame records it for. Zero granted is a denial.
Properties
Section titled “Properties”deniedCasters
Section titled “deniedCasters”deniedCasters:
number
Defined in: render/renderer.ts:100
Casters the frame denied outright, for a reader that wants the total.
granted
Section titled “granted”granted:
number
Defined in: render/renderer.ts:92
Tiles kept. 0 means this light casts no shadow at all this frame.
reducedCasters
Section titled “reducedCasters”reducedCasters:
number
Defined in: render/renderer.ts:102
Casters that kept fewer tiles than they asked for.
refusal
Section titled “refusal”refusal:
"none"|"tile-budget"|"tile-too-large"|"atlas-full"
Defined in: render/renderer.ts:98
Why it did not get what it asked for. Three answers, not one: only
atlas-full is fixed by a bigger atlas, and tile-budget is the shader’s
array bound, which no size changes.
requested
Section titled “requested”requested:
number
Defined in: render/renderer.ts:90
Tiles asked for: a cascade set, a cube’s six faces, or one.