Skip to content

Commit a875139

Browse files
authored
revert reflections PR changes to the meshlet example (#13539)
# Objective - #13418 introduced unwanted changes to the meshlet example ## Solution - Remove them
1 parent d7fc20c commit a875139

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

examples/3d/meshlet.rs

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ mod camera_controller;
88
use bevy::{
99
pbr::{
1010
experimental::meshlet::{MaterialMeshletMeshBundle, MeshletPlugin},
11-
CascadeShadowConfigBuilder, DirectionalLightShadowMap, ScreenSpaceReflectionsBundle,
12-
ScreenSpaceReflectionsSettings,
11+
CascadeShadowConfigBuilder, DirectionalLightShadowMap,
1312
},
1413
prelude::*,
1514
render::render_resource::AsBindGroup,
@@ -58,14 +57,6 @@ fn setup(
5857
intensity: 150.0,
5958
},
6059
CameraController::default(),
61-
ScreenSpaceReflectionsBundle {
62-
settings: ScreenSpaceReflectionsSettings {
63-
perceptual_roughness_threshold: 0.1,
64-
thickness: 0.1,
65-
..Default::default()
66-
},
67-
..Default::default()
68-
},
6960
));
7061

7162
commands.spawn(DirectionalLightBundle {
@@ -132,8 +123,8 @@ fn setup(
132123
commands.spawn(PbrBundle {
133124
mesh: meshes.add(Plane3d::default().mesh().size(5.0, 5.0)),
134125
material: standard_materials.add(StandardMaterial {
135-
base_color: Color::BLACK,
136-
perceptual_roughness: 0.0,
126+
base_color: Color::WHITE,
127+
perceptual_roughness: 1.0,
137128
..default()
138129
}),
139130
..default()

0 commit comments

Comments
 (0)