diff options
author | Graham Linden <graham@lindenlab.com> | 2019-08-23 12:34:22 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-08-23 12:34:22 -0700 |
commit | 2329beb3d3e3ad6501b6614578861012e4d9f4b0 (patch) | |
tree | ebc3a44bab2605a586aa641c9ba32791bee32404 /indra/newview/llviewershadermgr.cpp | |
parent | a645648ffc7d7bd665e13c0ed73e70ac06cebe29 (diff) |
SL-11774
Fix diffuse boost when water fog is enabled and make deferred underwater shader participate in EEP/WL param updates by marking it as a water shader.
Diffstat (limited to 'indra/newview/llviewershadermgr.cpp')
-rw-r--r-- | indra/newview/llviewershadermgr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llviewershadermgr.cpp b/indra/newview/llviewershadermgr.cpp index aca236cdfd..bdd0330cca 100644 --- a/indra/newview/llviewershadermgr.cpp +++ b/indra/newview/llviewershadermgr.cpp @@ -2281,6 +2281,7 @@ BOOL LLViewerShaderMgr::loadShadersDeferred() gDeferredUnderWaterProgram.mShaderFiles.push_back(make_pair("deferred/waterV.glsl", GL_VERTEX_SHADER_ARB)); gDeferredUnderWaterProgram.mShaderFiles.push_back(make_pair("deferred/underWaterF.glsl", GL_FRAGMENT_SHADER_ARB)); gDeferredUnderWaterProgram.mShaderLevel = mShaderLevel[SHADER_DEFERRED]; + gDeferredUnderWaterProgram.mShaderGroup = LLGLSLShader::SG_WATER; success = gDeferredUnderWaterProgram.createShader(NULL, NULL); llassert(success); } |