/// Horizontal froxel tile count of the UE5 Clustered Deferred Lighting grid.
pub const LIGHT_CLUSTER_GRID_X: usize = 16;
/// Vertical froxel tile count of the UE5 Clustered Deferred Lighting grid.
pub const LIGHT_CLUSTER_GRID_Y: usize = 9;
/// Logarithmic depth slice count of the UE5 Clustered Deferred Lighting grid.
pub const LIGHT_CLUSTER_GRID_Z: usize = 16;
/// Maximum local point/spot lights binned per individual 3D frustum froxel.
pub const LIGHT_CLUSTER_MAX_PER_FROXEL: usize = 16;
/// Maximum total packed local lights supported per frame in `LightClusterGrid3D`.
pub const LIGHT_CLUSTER_MAX_LIGHTS: usize = 256;
/// Default Virtual Shadow Map cascade edge resolution in texels (`160x160` L2-cache-resident atlas).
pub const VSM_DEFAULT_CASCADE_RES: usize = 160;
/// Near VSM cascade world-space half-extent in meters (`64m x 64m` hero zone).
pub const VSM_CASCADE_NEAR_EXTENT_M: f32 = 36.0;
/// Far VSM cascade world-space half-extent in meters (`240m x 240m` city skyline).
pub const VSM_CASCADE_FAR_EXTENT_M: f32 = 120.0;
/// Shadowed ambient floor matching BVH ray-traced shadow luminance (`0.22`).
pub const VSM_SHADOW_FLOOR: f32 = 0.22;
/// Four-tap rotated Poisson disk offsets in texels for smooth PCF shadow penumbra.
pub const VSM_PCF_OFFSETS_4: =
;
/// Minimum spot-light cone denominator avoiding division by zero when inner equals outer angle.
pub const SPOT_CONE_MIN_EPS: f32 = 1.0e-4;