Commit 582dd5c8 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Kitware Robot
Browse files

Merge topic 'fix_texture_blending_off'

e0a8c7da

 Revert "BUG #15874: Fix texture blending to discard transparent pixels."
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !1224
parents 89f0618c e0a8c7da
...@@ -26,8 +26,4 @@ uniform sampler2D source; ...@@ -26,8 +26,4 @@ uniform sampler2D source;
void main(void) void main(void)
{ {
gl_FragData[0] = texture2D(source,tcoordVC); gl_FragData[0] = texture2D(source,tcoordVC);
if (gl_FragData[0].a <= 0.0)
{
discard;
}
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment