Updated default values in SpatialMaterial and Environment

This commit is contained in:
Rasmus Ketelsen 2017-08-09 10:11:36 +02:00
parent 1536cc4381
commit 141aac48ff
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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);