From 141aac48ffe30b1e27d60ab800e286bc56899b93 Mon Sep 17 00:00:00 2001 From: Rasmus Ketelsen Date: Wed, 9 Aug 2017 10:11:36 +0200 Subject: Updated default values in SpatialMaterial and Environment --- scene/resources/environment.cpp | 2 +- scene/resources/material.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'scene') diff --git a/scene/resources/environment.cpp b/scene/resources/environment.cpp index accced404b..f2811bb873 100644 --- a/scene/resources/environment.cpp +++ b/scene/resources/environment.cpp @@ -1140,7 +1140,7 @@ Environment::Environment() { bg_energy = 1.0; bg_canvas_max_layer = 0; ambient_energy = 1.0; - ambient_sky_contribution = 0; + ambient_sky_contribution = 1.0; tone_mapper = TONE_MAPPER_LINEAR; tonemap_exposure = 1.0; diff --git a/scene/resources/material.cpp b/scene/resources/material.cpp index d869e72f53..10e361d158 100644 --- a/scene/resources/material.cpp +++ b/scene/resources/material.cpp @@ -1805,10 +1805,10 @@ SpatialMaterial::SpatialMaterial() : element(this) { //initialize to right values - set_albedo(Color(0.7, 0.7, 0.7, 1.0)); + set_albedo(Color(1.0, 1.0, 1.0, 1.0)); set_specular(0.5); set_roughness(0.0); - set_metallic(0.1); + set_metallic(0.0); set_emission(Color(0, 0, 0)); set_emission_energy(1.0); set_normal_scale(1); -- cgit v1.2.3