diff options
author | Graham Linden <graham@lindenlab.com> | 2013-08-12 15:55:25 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2013-08-12 15:55:25 -0700 |
commit | 51dfcb9c67f7c3464bf3640adfdd87a061f60390 (patch) | |
tree | b7f36fd43a31a961e049c8167c57da81f1210b9b /indra/newview/pipeline.cpp | |
parent | 61129c73c97accf297943d6bc5beea3c09579084 (diff) |
NORSPEC-342 WIP MATBUG-347 make impostor rendering not contribute to depth for mostly-transparent buffer pixels, aka hair in ALM only
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rwxr-xr-x | indra/newview/pipeline.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 9378c89eb7..31baf4188b 100755 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -11402,7 +11402,9 @@ void LLPipeline::generateImpostor(LLVOAvatar* avatar) // gGL.setColorMask(false,false); renderGeomPostDeferred(camera); + sImpostorRenderAlphaDepthPass = false; + } else { @@ -11418,10 +11420,13 @@ void LLPipeline::generateImpostor(LLVOAvatar* avatar) // from the previous pass // sImpostorRenderAlphaDepthPass = true; + // depth-only here... // gGL.setColorMask(false,false); renderGeom(camera); + + sImpostorRenderAlphaDepthPass = false; } { //create alpha mask based on depth buffer (grey out if muted) |