aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01.fp3
1 files changed, 2 insertions, 1 deletions
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 745ca5ea1..6f75c3e69 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,8 @@ void main (void)
alpha = g_alpha;
}
else if (a <= 0.0) {
- alpha = 0.0;//discard;
+ alpha = 0.0;
+ // discard; // should work but generates artifacts, dimples ?
}
else {
alpha = g_alpha*a;