@@ -8,8 +8,7 @@ mod camera_controller;
8
8
use bevy:: {
9
9
pbr:: {
10
10
experimental:: meshlet:: { MaterialMeshletMeshBundle , MeshletPlugin } ,
11
- CascadeShadowConfigBuilder , DirectionalLightShadowMap , ScreenSpaceReflectionsBundle ,
12
- ScreenSpaceReflectionsSettings ,
11
+ CascadeShadowConfigBuilder , DirectionalLightShadowMap ,
13
12
} ,
14
13
prelude:: * ,
15
14
render:: render_resource:: AsBindGroup ,
@@ -58,14 +57,6 @@ fn setup(
58
57
intensity : 150.0 ,
59
58
} ,
60
59
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
- } ,
69
60
) ) ;
70
61
71
62
commands. spawn ( DirectionalLightBundle {
@@ -132,8 +123,8 @@ fn setup(
132
123
commands. spawn ( PbrBundle {
133
124
mesh : meshes. add ( Plane3d :: default ( ) . mesh ( ) . size ( 5.0 , 5.0 ) ) ,
134
125
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,
137
128
..default ( )
138
129
} ) ,
139
130
..default ( )
0 commit comments