summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-11-02 10:55:12 -0500
committerDave Parks <davep@lindenlab.com>2011-11-02 10:55:12 -0500
commit1bea08335b6c2fa31f414db2fe7316a118b2ec18 (patch)
tree6bba0431bf99014b00e34d8a8e272c85de5d32f1 /indra
parentb58229a64e2a5c8178f3ac05f944b6cfecc5466b (diff)
SH-2648 Fix for flickering shadows on 40% transparent objects.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/pipeline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 85a7691ead..fe29333ab2 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -8149,10 +8149,10 @@ void LLPipeline::renderShadow(glh::matrix4f& view, glh::matrix4f& proj, LLCamera
{
LLFastTimer ftm(FTM_SHADOW_ALPHA);
gDeferredShadowAlphaMaskProgram.bind();
- gDeferredShadowAlphaMaskProgram.setAlphaRange(0.6f, 1.f);
+ gDeferredShadowAlphaMaskProgram.setAlphaRange(0.598f, 1.f);
renderObjects(LLRenderPass::PASS_ALPHA_SHADOW, LLVertexBuffer::MAP_VERTEX | LLVertexBuffer::MAP_TEXCOORD0 | LLVertexBuffer::MAP_COLOR, TRUE);
gDeferredTreeShadowProgram.bind();
- gDeferredTreeShadowProgram.setAlphaRange(0.6f, 1.f);
+ gDeferredTreeShadowProgram.setAlphaRange(0.598f, 1.f);
renderObjects(LLRenderPass::PASS_GRASS, LLVertexBuffer::MAP_VERTEX | LLVertexBuffer::MAP_TEXCOORD0, TRUE);
}