Commit e0a8c7da authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

Revert "BUG #15874: Fix texture blending to discard transparent pixels."

This reverts commit 2c3f90a2.

This fixes BUG #15993. Discarding fragments with 0 alpha ended up
discarding pixels even when blending was disabled. That was causing the
bug reported in 159993. BUG #15874 has since been fixed by
paraview/paraview!598, this fix is no longer needed for the issue it was
added to fix (albeit incorrectly).
parent b9d588a1
Pipeline #7322 passed with stage
......@@ -26,8 +26,4 @@ uniform sampler2D source;
void main(void)
{
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