diff options
author | Oz Linden <oz@lindenlab.com> | 2013-05-22 11:43:32 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2013-05-22 11:43:32 -0400 |
commit | 2b517892ad571d935645f46eee5b0c1182d9c5c9 (patch) | |
tree | edbf93d7c3105927ece4ac9f179a71e8e307aff3 /indra/newview/pipeline.cpp | |
parent | 5758b9e304c182db93aa642358140d9464331208 (diff) | |
parent | d4f2a2df5308ba1527e6f000582f75b73e5ea597 (diff) |
merge latest project repo
Diffstat (limited to 'indra/newview/pipeline.cpp')
-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; } } |