Skip to main content

LIGHTING_BINDING

Constant LIGHTING_BINDING 

Source
pub const LIGHTING_BINDING: u32 = 11;
Expand description

Binding slot of the frame-wide lighting uniform in the global bind group.

The ambient term and the frame’s directional lights, which reach every fragment: what a fragment needs to light itself before it asks the grid.