Login  Register

JOGL GLSL version and Mac OS X 10.7.5

Posted by axel22 on Jul 11, 2013; 4:31pm
URL: https://forum.jogamp.org/JOGL-GLSL-version-and-Mac-OS-X-10-7-5-tp4029574.html

I'm using JOGL 2.0.2-rc12 on Mac OS X 10.7.5. The shader version as returned by the glGetString(GL2ES2.GL_SHADING_LANGUAGE_VERSION) call is "1.20" -- hence I am unable to use GLSL features such as sampler2DArray for texture arrays. This is independent of the GLProfile I use to initialize the rendering context. Working with the same version of JOGL on Windows 7, the GLSL version seems to be "1.40". Note that this version of Mac OS X should support GLSL version 1.50.

Is there a way to programatically switch between the GLSL versions, e.g. when initializing the GLProfile and GLCapabilities objects?

Otherwise, is this fixed in a newer version of Mac OS X?
Is this a planned fix for future releases of JOGL?

Thank you,
Aleksandar