diff options
author | Dave Parks <davep@lindenlab.com> | 2023-03-27 18:22:53 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2023-03-27 18:22:53 -0500 |
commit | 366bae14963151905cae7a08c4c77d422223b9e1 (patch) | |
tree | c4b988ca728257acd1a0675f8369fc2b8f1b2f14 /indra/newview/lldrawpoolwlsky.cpp | |
parent | c20058b7a7207cb80426796d9d77864c696a5eec (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.cpp | 2 |
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(); |