summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolavatar.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2013-06-03 15:45:59 -0500
committerDave Parks <davep@lindenlab.com>2013-06-03 15:45:59 -0500
commitbc57b8050c2cb7decd9ac1b3e9f640c5f25bd53c (patch)
tree13003d9525f8c0da2e87b297c5429fb0b47eecdc /indra/newview/lldrawpoolavatar.cpp
parentab88aa5b3409dac17e8464fe2262796e24b606b4 (diff)
MATBUG-136 Fix for glow being too bright on rigged attachments.
Diffstat (limited to 'indra/newview/lldrawpoolavatar.cpp')
-rwxr-xr-xindra/newview/lldrawpoolavatar.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/lldrawpoolavatar.cpp b/indra/newview/lldrawpoolavatar.cpp
index 7e8bdfba2c..fa9e6f949f 100755
--- a/indra/newview/lldrawpoolavatar.cpp
+++ b/indra/newview/lldrawpoolavatar.cpp
@@ -876,6 +876,8 @@ void LLDrawPoolAvatar::beginRiggedGlow()
{
sDiffuseChannel = 0;
sVertexProgram->bind();
+
+ sVertexProgram->uniform1f(LLShaderMgr::TEXTURE_GAMMA, LLPipeline::sRenderDeferred ? 2.2f : 1.1f);
}
}