Skip to main content

MAX_SHADOWS

Constant MAX_SHADOWS 

Source
pub const MAX_SHADOWS: usize = 4;
Expand description

Cap on casting lights per frame (see Light::shadow); excess is ignored — warned the first frame, a debug log after.