From f1f48af4a2ebd4bf080662266c4cffc95ef12d65 Mon Sep 17 00:00:00 2001 From: atlas dostal Date: Thu, 31 Jul 2025 21:11:28 -0400 Subject: [PATCH] Use the default directional light intensity constant --- examples/3d/shadow_biases.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/3d/shadow_biases.rs b/examples/3d/shadow_biases.rs index afd469affff54..0f0ff5d295a79 100644 --- a/examples/3d/shadow_biases.rs +++ b/examples/3d/shadow_biases.rs @@ -160,7 +160,7 @@ fn toggle_light( for mut light in &mut directional_lights { light.illuminance = if light.illuminance == 0.0 { *writer.text(*example_text, 4) = "DirectionalLight".to_string(); - 100000.0 + light_consts::lux::AMBIENT_DAYLIGHT } else { 0.0 };