Fix shadows on basic alpha faces.

This commit is contained in:
Shyotl
2018-08-07 01:53:06 -05:00
parent b1b415e862
commit 0fc962454d
2 changed files with 12 additions and 1 deletions

View File

@@ -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;