ShadowStatus
Defined in: render/renderer.ts:93
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:105
Casters the frame denied outright, for a reader that wants the total.
granted
Section titled “granted”granted:
number
Defined in: render/renderer.ts:97
Tiles kept. 0 means this light casts no shadow at all this frame.
reducedCasters
Section titled “reducedCasters”reducedCasters:
number
Defined in: render/renderer.ts:107
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:103
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:95
Tiles asked for: a cascade set, a cube’s six faces, or one.