Constant bevy::pbr::MAX_VIEW_LIGHT_PROBES
source · pub const MAX_VIEW_LIGHT_PROBES: usize = 8; // 8usize
Expand description
The maximum number of each type of light probe that each view will consider.
Because the fragment shader does a linear search through the list for each fragment, this number needs to be relatively small.