Re: Other Shader lib?
Posted by
gouessej on
May 16, 2011; 8:20am
URL: https://forum.jogamp.org/Other-Shader-lib-tp2945189p2946931.html
Hi!
I don't reproduce your bug whereas I have used a pixel shader and a vertex shader with JOGL 2 recently:
#vertex shader
uniform float mandel_x;
uniform float mandel_y;
uniform float mandel_width;
uniform float mandel_height;
uniform float mandel_iterations;
void main(){
gl_TexCoord[0] = gl_MultiTexCoord0;
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
}