diff options
author | Dave Parks <davep@lindenlab.com> | 2024-12-05 13:10:13 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-05 15:10:13 -0600 |
commit | 37f92c1698cd0cef1aa3d8a21a13cd99510e86e9 (patch) | |
tree | 97fd603c0b3e5c9bf951d47395e33362b1cd7cc1 /indra/newview/llsettingsvo.cpp | |
parent | 1120a7ccb91223df91aa92b1354dfe2c3b65a577 (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.cpp | 2 |
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) |