diff options
author | Graham Madarasz <graham@lindenlab.com> | 2013-05-21 16:13:09 -0700 |
---|---|---|
committer | Graham Madarasz <graham@lindenlab.com> | 2013-05-21 16:13:09 -0700 |
commit | e2ca8412e48152f563df5d1fa8862e5ada738393 (patch) | |
tree | da2b478ee95083721a9552c0e6b7935110dabd06 /indra/newview | |
parent | 06b3879acc2f0a306cace145f3772433e5fff5c9 (diff) | |
parent | 4c522f82124328157e273bbc0813198d85a15f0f (diff) |
Merge
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/pipeline.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 19ff1e852d..984ea446fe 100755 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -1699,7 +1699,14 @@ U32 LLPipeline::getPoolTypeFromTE(const LLTextureEntry* te, LLViewerTexture* ima alpha = color_alpha; break; default: //alpha mode set to "mask", go to alpha pool if fullbright - alpha = color_alpha; // Material's alpha mode is set to none, mask, or emissive. Toss it into the opaque material draw pool. + if (te->getFullbright()) + { + alpha = true; + } + else + { + alpha = color_alpha; // Material's alpha mode is set to none, mask, or emissive. Toss it into the opaque material draw pool. + } break; } } |