Fix 'fast alpha' option for non-deferred rendering. This is a developer toggle which we don't support as such, but people with old viewers may have it turned on and will experience new artifacts without this fix.
Fix is isolated to this fast-alpha case.meow-7.2.2
parent
62c8091693
commit
efe1f7c6f6
|
|
@ -180,6 +180,7 @@ void LLDrawPoolAlpha::render(S32 pass)
|
|||
|
||||
if (LLPipeline::sFastAlpha && !deferred_render)
|
||||
{
|
||||
LLGLDisable blend_enable(GL_BLEND);
|
||||
gGL.setAlphaRejectSettings(LLRender::CF_GREATER, 0.33f);
|
||||
if (mVertexShaderLevel > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue