Skip to content

Commit cb3e6a8

Browse files
authored
Fix shadow_biases example (#18303)
Fix moire artifacts in #16635. Default directional light biases are overkill but it's fine.
1 parent c2854a2 commit cb3e6a8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

examples/3d/shadow_biases.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,10 @@ fn setup(
5252
intensity: 0.0,
5353
range: spawn_plane_depth,
5454
color: Color::WHITE,
55-
shadow_depth_bias: 0.0,
56-
shadow_normal_bias: 0.0,
5755
shadows_enabled: true,
5856
..default()
5957
});
6058
builder.spawn(DirectionalLight {
61-
shadow_depth_bias: 0.0,
62-
shadow_normal_bias: 0.0,
6359
shadows_enabled: true,
6460
..default()
6561
});

0 commit comments

Comments
 (0)