summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolsimple.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2013-08-12 17:22:47 -0700
committerGraham Linden <graham@lindenlab.com>2013-08-12 17:22:47 -0700
commita43a762c0ddf3ecac2056b36d0ede1f99e71231e (patch)
tree0c50c44127230203329c1069dfca6d55031ccdc4 /indra/newview/lldrawpoolsimple.cpp
parent51dfcb9c67f7c3464bf3640adfdd87a061f60390 (diff)
NORSPEC-342 fix blocky hair in ALM from writing depth for transparent pixels in impostor rendering
Diffstat (limited to 'indra/newview/lldrawpoolsimple.cpp')
-rwxr-xr-xindra/newview/lldrawpoolsimple.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolsimple.cpp b/indra/newview/lldrawpoolsimple.cpp
index aee9d19d19..8926f64c64 100755
--- a/indra/newview/lldrawpoolsimple.cpp
+++ b/indra/newview/lldrawpoolsimple.cpp
@@ -156,7 +156,11 @@ void LLDrawPoolSimple::beginRenderPass(S32 pass)
{
LLFastTimer t(FTM_RENDER_SIMPLE);
- if (LLPipeline::sUnderWaterRender)
+ if (LLPipeline::sImpostorRender)
+ {
+ simple_shader = &gObjectSimpleImpostorProgram;
+ }
+ else if (LLPipeline::sUnderWaterRender)
{
simple_shader = &gObjectSimpleWaterProgram;
}