Skip to main content

CLUSTER_NEAR

Constant CLUSTER_NEAR 

Source
const CLUSTER_NEAR: f32 = 1.0;
Expand description

The depth range the debug scene’s grid spans.

The grid’s slices are spaced evenly in ln(depth), so a grid spanning the library default’s kilometre spends most of its slices on depths this scene never draws. Spanning the floor instead puts every slice on screen, which is what the view has to show.