From 2d624c517f7c8d0f4b44bd411b52b776b4d37f62 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 26 Mar 2020 23:22:38 +0100 Subject: [PATCH] library: render: mesh: make default material grey --- pathtracer/src/render/mesh.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pathtracer/src/render/mesh.rs b/pathtracer/src/render/mesh.rs index 7c3748b..32dd923 100644 --- a/pathtracer/src/render/mesh.rs +++ b/pathtracer/src/render/mesh.rs @@ -101,8 +101,8 @@ impl TryFrom for Mesh { // Material, or throw a LoadError ( UniformMaterial::new(LightProperties::new( - LinearColor::new(1.0, 0.0, 0.0), - LinearColor::new(0.0, 0.0, 0.0), + LinearColor::new(0.5, 0.5, 0.5), + LinearColor::new(0.1, 0.1, 0.1), None, )) .into(),