summaryrefslogtreecommitdiff
path: root/indra/newview/llsettingsvo.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2024-12-05 13:10:13 -0800
committerGitHub <noreply@github.com>2024-12-05 15:10:13 -0600
commit37f92c1698cd0cef1aa3d8a21a13cd99510e86e9 (patch)
tree97fd603c0b3e5c9bf951d47395e33362b1cd7cc1 /indra/newview/llsettingsvo.cpp
parent1120a7ccb91223df91aa92b1354dfe2c3b65a577 (diff)
Fix for legacy skies with bright suns not matching FS 6.6.17 (#3214)
Diffstat (limited to 'indra/newview/llsettingsvo.cpp')
-rw-r--r--indra/newview/llsettingsvo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llsettingsvo.cpp b/indra/newview/llsettingsvo.cpp
index 25df53fe05..85e2f4db90 100644
--- a/indra/newview/llsettingsvo.cpp
+++ b/indra/newview/llsettingsvo.cpp
@@ -818,6 +818,8 @@ void LLSettingsVOSky::applySpecial(void *ptarget, bool force)
shader->uniform1f(LLShaderMgr::SKY_AMBIENT_SCALE, ambient_scale);
shader->uniform1i(LLShaderMgr::CLASSIC_MODE, classic_mode);
+ LLRender::sClassicMode = classic_mode;
+
F32 probe_ambiance = getReflectionProbeAmbiance();
if (irradiance_pass)