From 09e6ce693d0d69c81259fae280eea8fca81c4f47 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 12 Nov 2017 08:26:45 -0300 Subject: Set ambient contribution by default to 1, fixes #11850 --- scene/resources/environment.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scene/resources/environment.cpp b/scene/resources/environment.cpp index 232f690074..fe59450f2e 100644 --- a/scene/resources/environment.cpp +++ b/scene/resources/environment.cpp @@ -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; -- cgit v1.2.3