Fix shadows on basic alpha faces.
This commit is contained in:
@@ -457,7 +457,7 @@ void LLDrawPoolAlpha::renderAlpha(U32 mask, S32 pass)
|
||||
{
|
||||
if(current_shader)
|
||||
gPipeline.unbindDeferredShader(*current_shader);
|
||||
target_shader->bind();
|
||||
gPipeline.bindDeferredShader(*target_shader);
|
||||
}
|
||||
}
|
||||
current_shader = target_shader;
|
||||
|
||||
Reference in New Issue
Block a user