summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolwlsky.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-03-27 18:22:53 -0500
committerDave Parks <davep@lindenlab.com>2023-03-27 18:22:53 -0500
commit366bae14963151905cae7a08c4c77d422223b9e1 (patch)
treec4b988ca728257acd1a0675f8369fc2b8f1b2f14 /indra/newview/lldrawpoolwlsky.cpp
parentc20058b7a7207cb80426796d9d77864c696a5eec (diff)
DRTVWR-559 Fix for off-white metal not looking chromed when it should (fake hacky HDR sky reflections).
Diffstat (limited to 'indra/newview/lldrawpoolwlsky.cpp')
-rw-r--r--indra/newview/lldrawpoolwlsky.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/lldrawpoolwlsky.cpp b/indra/newview/lldrawpoolwlsky.cpp
index acbc349567..b49fe35851 100644
--- a/indra/newview/lldrawpoolwlsky.cpp
+++ b/indra/newview/lldrawpoolwlsky.cpp
@@ -139,6 +139,8 @@ void LLDrawPoolWLSky::renderSkyHazeDeferred(const LLVector3& camPosLocal, F32 ca
sky_shader->bind();
+ sky_shader->uniform1i(LLShaderMgr::CUBE_SNAPSHOT, gCubeSnapshot ? 1 : 0);
+
LLSettingsSky::ptr_t psky = LLEnvironment::instance().getCurrentSky();
LLViewerTexture* rainbow_tex = gSky.mVOSkyp->getRainbowTex();