diff options
Diffstat (limited to 'src/jogl/classes/jogamp/graph')
-rwxr-xr-x | src/jogl/classes/jogamp/graph/curve/opengl/RegionRendererImpl01.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/graph/curve/opengl/RegionRendererImpl01.java b/src/jogl/classes/jogamp/graph/curve/opengl/RegionRendererImpl01.java index 58086e06c..0218c729a 100755 --- a/src/jogl/classes/jogamp/graph/curve/opengl/RegionRendererImpl01.java +++ b/src/jogl/classes/jogamp/graph/curve/opengl/RegionRendererImpl01.java @@ -46,12 +46,16 @@ public class RegionRendererImpl01 extends RegionRenderer { }
+ /**
+ * FIXME: 2nd pass shader !
+ */
@Override
protected String getFragmentShaderName(GL2ES2 gl) {
if(Region.isNonUniformWeight(renderModes)){
+ // FIXME: split shader !
return "curverenderer02" + getShaderGLVersionSuffix(gl);
}
- return "curverenderer01" + getShaderGLVersionSuffix(gl);
+ return "curverenderer01a" + getShaderGLVersionSuffix(gl);
}
protected boolean initShaderProgram(GL2ES2 gl) {
|