Login  Register

Other Shader lib?

Posted by Worker on May 15, 2011; 10:58pm
URL: https://forum.jogamp.org/Other-Shader-lib-tp2945189.html

Hello

My Shader setup class works good with sun's lib, but
after migration to jogamp's lib, the shader programs are not
linked correct together. After that, destoying the useless
shader, the program crashes.

I have seen that the 'com.jogamp.opengl.util.glsl.ShaderCode'
says, that the following simple shader code file was not valid.

void main()
{
  gl_position = ftransform();
}
 
Is that a bug?