library: render: mesh: make default material grey

This commit is contained in:
Antoine Martin 2020-03-26 23:22:38 +01:00 committed by Bruno BELANYI
parent fe5eee0172
commit 2d624c517f

View file

@ -101,8 +101,8 @@ impl TryFrom<Wavefront> for Mesh {
// Material, or throw a LoadError // Material, or throw a LoadError
( (
UniformMaterial::new(LightProperties::new( UniformMaterial::new(LightProperties::new(
LinearColor::new(1.0, 0.0, 0.0), LinearColor::new(0.5, 0.5, 0.5),
LinearColor::new(0.0, 0.0, 0.0), LinearColor::new(0.1, 0.1, 0.1),
None, None,
)) ))
.into(), .into(),