From c4c599ae00e6a73126637bd73dce33522f5a9fef Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 23 Nov 2023 23:25:34 +0100 Subject: fix: reduce default light source builder color brightness --- engine/src/lighting.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/src/lighting.rs b/engine/src/lighting.rs index f14c0b3..20f89c3 100644 --- a/engine/src/lighting.rs +++ b/engine/src/lighting.rs @@ -58,9 +58,9 @@ impl LightSourceBuilder { Self { position: Vec3::default(), - ambient: Color::WHITE_F32, - diffuse: Color::WHITE_F32, - specular: Color::WHITE_F32, + ambient: Color { red: 0.2, green: 0.2, blue: 0.2 }, + diffuse: Color { red: 0.5, green: 0.5, blue: 0.5 }, + specular: Color { red: 1.0, green: 1.0, blue: 1.0 }, } } -- cgit v1.2.3-18-g5258