summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRasmus Ketelsen <rke@gamblify.com>2017-08-09 10:11:36 +0200
committerRasmus Ketelsen <rke@gamblify.com>2017-08-09 10:11:36 +0200
commit141aac48ffe30b1e27d60ab800e286bc56899b93 (patch)
tree66e6c2b5ba7ae78dfd1d2f817e6873737007c9fb /scene
parent1536cc438128fe4036fa7da5ec305513a781d3c8 (diff)
Updated default values in SpatialMaterial and Environment
Diffstat (limited to 'scene')
-rw-r--r--scene/resources/environment.cpp2
-rw-r--r--scene/resources/material.cpp4
2 files changed, 3 insertions, 3 deletions
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);