diff options
author | Jonathan "Geenz" Goodman <geenz@lindenlab.com> | 2023-07-12 18:58:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-12 18:58:15 -0700 |
commit | 880a1ee695f0d6b57c081c9a04d406712c17f058 (patch) | |
tree | b83d918400925f2b8dc504d0033ef42d5c6a09b8 /indra/llrender/llshadermgr.cpp | |
parent | f6369a2f2246cf3828078f2c89736398e9f29869 (diff) | |
parent | 66283201301b0e55336f4b20407fed811acdc739 (diff) |
Merge pull request #275 from secondlife/SL-19567
SL-19567: Mitigate glow banding
Diffstat (limited to 'indra/llrender/llshadermgr.cpp')
-rw-r--r-- | indra/llrender/llshadermgr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp index 75d6ef6c46..22940dc703 100644 --- a/indra/llrender/llshadermgr.cpp +++ b/indra/llrender/llshadermgr.cpp @@ -1300,8 +1300,9 @@ void LLShaderMgr::initAttribsAndUniforms() mReservedUniforms.push_back("warmthAmount"); mReservedUniforms.push_back("glowStrength"); mReservedUniforms.push_back("glowDelta"); + mReservedUniforms.push_back("glowNoiseMap"); - llassert(mReservedUniforms.size() == LLShaderMgr::GLOW_DELTA+1); + llassert(mReservedUniforms.size() == LLShaderMgr::GLOW_NOISE_MAP+1); mReservedUniforms.push_back("minimum_alpha"); |