Shadow

gfx.shadow.subdiv

Client

Enumeration of supported subdivision levels of a positional shadow atlas quadrant

Values

The subdivision controls how many shadow maps a quadrant holds.

ConstantDescription
gfx.shadow.subdiv.DISABLEDQuadrant is unused, no shadow maps are stored in it
gfx.shadow.subdiv.X1A single shadow map fills the whole quadrant. Highest resolution per light
gfx.shadow.subdiv.X44 shadow maps (2×2)
gfx.shadow.subdiv.X1616 shadow maps (4×4)
gfx.shadow.subdiv.X6464 shadow maps (8×8)
gfx.shadow.subdiv.X256256 shadow maps (16×16)
gfx.shadow.subdiv.X10241024 shadow maps (32×32). Lowest resolution per light, only suited for scenes with a very large number of distant lights

On this page