跳转到内容

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.

deniedCasters: number

Defined in: render/renderer.ts:100

Casters the frame denied outright, for a reader that wants the total.


granted: number

Defined in: render/renderer.ts:92

Tiles kept. 0 means this light casts no shadow at all this frame.


reducedCasters: number

Defined in: render/renderer.ts:102

Casters that kept fewer tiles than they asked for.


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: number

Defined in: render/renderer.ts:90

Tiles asked for: a cascade set, a cube’s six faces, or one.