diff options
author | HampusM <hampus@hampusmat.com> | 2023-11-23 23:25:34 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-11-23 23:25:34 +0100 |
commit | c4c599ae00e6a73126637bd73dce33522f5a9fef (patch) | |
tree | 34f454b2e4166ce1d2fc5bb6fb0676f96f17b6dc | |
parent | 694b898fabfddea6fc738346bcd3f5a404af3c97 (diff) |
fix: reduce default light source builder color brightness
-rw-r--r-- | engine/src/lighting.rs | 6 |
1 files 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 }, } } |