diff options
author | Jonathan "Geenz" Goodman <geenz@lindenlab.com> | 2025-02-11 13:49:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-11 13:49:24 -0500 |
commit | d450295cf517784744552acb2e885a1657a60f7e (patch) | |
tree | 0a4d8bf00c8e50d2c05d19384f114b777e7b3a01 /indra/llrender/llshadermgr.cpp | |
parent | 6a78b5b43cf14a30130dded0173ab914e282aa23 (diff) |
Additional water fixes and tweaks. (#3524)
* Incorporation of feedback for #3456
Diffstat (limited to 'indra/llrender/llshadermgr.cpp')
-rw-r--r-- | indra/llrender/llshadermgr.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp index 25d8ccd4b3..4807c12226 100644 --- a/indra/llrender/llshadermgr.cpp +++ b/indra/llrender/llshadermgr.cpp @@ -291,6 +291,14 @@ bool LLShaderMgr::attachShaderFeatures(LLGLSLShader * shader) } } + if (features->hasTonemap) + { + if (!shader->attachFragmentObject("deferred/tonemapUtilF.glsl")) + { + return false; + } + } + // NOTE order of shader object attaching is VERY IMPORTANT!!! if (features->hasAtmospherics) { |