Login  Register

Re: Other Shader lib?

Posted by Sven Gothel on May 18, 2011; 1:35am
URL: https://forum.jogamp.org/Other-Shader-lib-tp2945189p2955176.html

On Monday, May 16, 2011 12:58:53 am Worker [via jogamp] wrote:

>
> Hello
>
> My Shader setup class works good with sun'd lib, but
> after migration to jogamp's lib the programs are not be
> correct linked 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?

FAQ -> How To Bug Report :)

Well .. I have just added a few more glsl unit tests for JOGLs ShaderState/Utils,
which are now in quite a good shape.

Have a look at them, if you don't mind ..

~Sven