Login  Register

Re: curve TextRenderer, GL3, couldn't link program

Posted by gouessej on Mar 31, 2013; 9:16am
URL: https://forum.jogamp.org/curve-TextRenderer-GL3-couldn-t-link-program-tp4028852p4028864.html

JanBenes wrote
For future reference - the bug has been submitted (https://jogamp.org/bugzilla/show_bug.cgi?id=711)

Since it's easy, how would one go about fixing this? Could a fix be made simply by changing the shader code?

Thanks for the replies!
Thank you for reporting this bug and giving us enough information :)

We have to support different versions of GLSL and then use several shaders or several macros in the same shader.

Personally, I hate wasting tons of time in writing shaders. I would like to create a fully Java based shader builder in the future (an alternative to Decora and similar tools). It would generate the real GLSL shader code on demand at runtime, the developer would have to write his shaders once only in Java, he wouldn't have to think about keywords changes across versions. For example, "varying" has been replaced by "in" and "out", my builder would handle that.
Julien Gouesse | Personal blog | Website