From a6d0578e1ef46b835906ab290161cff3baa51ef8 Mon Sep 17 00:00:00 2001 From: Rami Santina Date: Sat, 2 Apr 2011 14:53:58 +0300 Subject: Fix: removing fragments with w=0 is producing dimples with msaa --- src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01.fp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01.fp b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01.fp index e07139a87..745ca5ea1 100644 --- a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01.fp +++ b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01.fp @@ -85,7 +85,7 @@ void main (void) alpha = g_alpha; } else if (a <= 0.0) { - discard; + alpha = 0.0;//discard; } else { alpha = g_alpha*a; -- cgit v1.2.3