diff options
author | Rye Mutt <rye@alchemyviewer.org> | 2023-10-02 11:29:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-02 10:29:31 -0500 |
commit | 153bd41bebae9f41e7c5e88dc54526eee152f6cf (patch) | |
tree | ddc2ca9ef90da537a4922a254a80c365262ab5de /indra | |
parent | a95ad7aac7248c5b81e5d9dd9e606b5ecb61e301 (diff) |
Fix ssao define in under water light softening shader (#403)
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llviewershadermgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewershadermgr.cpp b/indra/newview/llviewershadermgr.cpp index 82b16d67bd..d52f0b68fa 100644 --- a/indra/newview/llviewershadermgr.cpp +++ b/indra/newview/llviewershadermgr.cpp @@ -2286,12 +2286,12 @@ BOOL LLViewerShaderMgr::loadShadersDeferred() if (local_light_kill) { gDeferredSoftenWaterProgram.addPermutation("LOCAL_LIGHT_KILL", "1"); - gDeferredSoftenWaterProgram.addPermutation("HAS_SSAO", "1"); } if (gSavedSettings.getBOOL("RenderDeferredSSAO")) { //if using SSAO, take screen space light map into account as if shadows are enabled gDeferredSoftenWaterProgram.mShaderLevel = llmax(gDeferredSoftenWaterProgram.mShaderLevel, 2); + gDeferredSoftenWaterProgram.addPermutation("HAS_SSAO", "1"); } success = gDeferredSoftenWaterProgram.createShader(NULL, NULL); |