diff options
author | Jonathan "Geenz" Goodman <geenz@geenzo.com> | 2023-03-28 09:46:09 -0700 |
---|---|---|
committer | Jonathan "Geenz" Goodman <geenz@geenzo.com> | 2023-03-28 09:46:09 -0700 |
commit | 320beaad855f253d36dbb8e1e9a891cc4525494e (patch) | |
tree | 6eca57bbae09437c3b02ee77975f9102fe33e5e7 /indra/newview/lldrawpoolwlsky.cpp | |
parent | 08cd239c5f8f4b67b22372e7e608d9ec8e21a26c (diff) | |
parent | 9bf08f553aa59122a606487f1b28bd6083d9f966 (diff) |
Merge branch 'DRTVWR-559' of https://github.com/secondlife/viewer into DRTVWR-559
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(); |