summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llsettingsvo.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/indra/newview/llsettingsvo.cpp b/indra/newview/llsettingsvo.cpp
index a7a5a9223c..de11f580a8 100644
--- a/indra/newview/llsettingsvo.cpp
+++ b/indra/newview/llsettingsvo.cpp
@@ -717,14 +717,6 @@ void LLSettingsVOSky::applySpecial(void *ptarget, bool force)
LLColor3 ambient(getTotalAmbient());
F32 g = getGamma();
- if (ambient != LLColor3::black && getReflectionProbeAmbiance() == 0.f)
- { //desaturate ambient for legacy compatibility
- F32 h, s, l;
- ambient.calcHSL(&h, &s, &l);
- s *= 0.5f;
- l *= 1.f / (g + llmax(g-1.f, 0.f));
- ambient.setHSL(h, s, l);
- }
if (irradiance_pass)
{ // during an irradiance map update, disable ambient lighting (direct lighting only) and desaturate sky color (avoid tinting the world blue)