We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a1a604 commit daeb2a9Copy full SHA for daeb2a9
examples/bevy_egui.rs
@@ -102,7 +102,7 @@ fn voxel_plot_setup(
102
let threshold = instances.last().unwrap().color[3];
103
println!("Auto threshold for opacity was: {}", threshold);
104
}
105
- let first_pass_layer = RenderLayers::layer(1);
+ let first_pass_layer = RenderLayers::layer(0);
106
107
commands.spawn((
108
Mesh3d(meshes.add(Cuboid::new(cube_width, cube_height, cube_depth))),
@@ -115,7 +115,6 @@ fn voxel_plot_setup(
115
// We must disable the built-in frustum culling by adding the `NoFrustumCulling` marker
116
// component to avoid incorrect culling.
117
NoFrustumCulling,
118
- first_pass_layer.clone(),
119
));
120
121
commands.insert_resource(AmbientLight {
0 commit comments