From cb3e6a88dc1d99ca03aaf7b933bef0b5b56ced52 Mon Sep 17 00:00:00 2001 From: JMS55 <47158642+JMS55@users.noreply.github.com> Date: Fri, 14 Mar 2025 12:50:49 -0700 Subject: [PATCH] Fix shadow_biases example (#18303) Fix moire artifacts in https://github.com/bevyengine/bevy/issues/16635. Default directional light biases are overkill but it's fine. --- examples/3d/shadow_biases.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/examples/3d/shadow_biases.rs b/examples/3d/shadow_biases.rs index 10fe6cffec..afd469afff 100644 --- a/examples/3d/shadow_biases.rs +++ b/examples/3d/shadow_biases.rs @@ -52,14 +52,10 @@ fn setup( intensity: 0.0, range: spawn_plane_depth, color: Color::WHITE, - shadow_depth_bias: 0.0, - shadow_normal_bias: 0.0, shadows_enabled: true, ..default() }); builder.spawn(DirectionalLight { - shadow_depth_bias: 0.0, - shadow_normal_bias: 0.0, shadows_enabled: true, ..default() });