Variable MAX_SHADOW_CASCADESConst Internal

MAX_SHADOW_CASCADES: 6

Maximum number of shadow cascades the renderer supports. Shadow-aware shaders declare exactly this many samplers and matrix slots; runtime cascadeCount just decides how many of them actually carry data.