lower shadow distance

This commit is contained in:
yuni 2024-04-24 20:17:37 +02:00
parent 9c9d92bb8e
commit 6d8341ba56

View file

@ -110,8 +110,8 @@ pub fn setup_camera(
transform: Transform::from_rotation(Quat::from_rotation_y(PI/2.0)),
cascade_shadow_config: CascadeShadowConfigBuilder {
num_cascades: 4,
minimum_distance: 0.001,
maximum_distance: 250000.0,
minimum_distance: 0.1,
maximum_distance: 5000.0,
..default()
}.into(),
..default()