Set ambient contribution by default to 1, fixes #11850

This commit is contained in:
Juan Linietsky 2017-11-12 08:26:45 -03:00
parent 5dcfa8b615
commit 09e6ce693d

View File

@ -1184,7 +1184,8 @@ Environment::Environment() {
bg_energy = 1.0;
bg_canvas_max_layer = 0;
ambient_energy = 1.0;
ambient_sky_contribution = 1.0;
//ambient_sky_contribution = 1.0;
set_ambient_light_sky_contribution(1.0);
tone_mapper = TONE_MAPPER_LINEAR;
tonemap_exposure = 1.0;