diff options
author | Dave Parks <davep@lindenlab.com> | 2013-05-23 12:47:52 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2013-05-23 12:47:52 -0500 |
commit | 933d4c40f42babf74320dca70ac08009b8577fa1 (patch) | |
tree | c1c7f29374232a21ec4e4dc567ddc72226b70c36 /indra/newview/lldrawpoolavatar.cpp | |
parent | 4c522f82124328157e273bbc0813198d85a15f0f (diff) |
NORSPEC-198, NORSPEC-176, NORSPEC-106 WIP Fix for various fullbright/shiny descrepencies.
Diffstat (limited to 'indra/newview/lldrawpoolavatar.cpp')
-rwxr-xr-x | indra/newview/lldrawpoolavatar.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolavatar.cpp b/indra/newview/lldrawpoolavatar.cpp index b4ebee064e..a65240abff 100755 --- a/indra/newview/lldrawpoolavatar.cpp +++ b/indra/newview/lldrawpoolavatar.cpp @@ -979,7 +979,14 @@ void LLDrawPoolAvatar::beginRiggedFullbrightShiny() } else { - sVertexProgram = &gSkinnedObjectFullbrightShinyProgram; + if (LLPipeline::sRenderDeferred) + { + sVertexProgram = &gDeferredSkinnedFullbrightShinyProgram; + } + else + { + sVertexProgram = &gSkinnedObjectFullbrightShinyProgram; + } } } else |