From f738a61d609ce917efcc6776dcb4f3cff6bcb2f3 Mon Sep 17 00:00:00 2001 From: rewin Date: Wed, 6 Dec 2023 22:25:27 +0300 Subject: [PATCH] Fix torch light --- src/torch.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/torch.rs b/src/torch.rs index 8807c05..472e9c7 100644 --- a/src/torch.rs +++ b/src/torch.rs @@ -77,13 +77,13 @@ fn spawn_torch( parent.spawn(PointLightBundle { point_light: PointLight { color: Color::ORANGE, - intensity: 10000.0, + intensity: 100.0, range: 5.0, - radius: 5.0, + radius: 0.3, shadows_enabled: false, ..default() }, - transform: Transform::from_translation(Vec3::new(0.0, 2.0, -0.4)), + transform: Transform::from_translation(Vec3::new(0.0, 0.0, 1.0)), ..default() }); });