Login  Register

Re: invalid shader version number

Posted by gmseed on Nov 20, 2011; 10:49am
URL: https://forum.jogamp.org/invalid-shader-version-number-tp3519333p3522513.html

Hi again

Just checked the OPenGL API version from the current JOGL download at jogamp, and it is 2.0.

I've always been slightly confused as to the Readme file indicates OpenGL 2.0, when it includes GL3, GL4, etc.

Presumably if the JOGL build is for OpenGL 2.0 then it is pointless going above GL2 - or I am missing something.

Checking the table on Wikipedia:

http://en.wikipedia.org/wiki/GLSL

we see that OpenGl2.1 supports GLSL 1.20.8, for which "lacation" is not supported.

I am totally baffled by this as GL2 with shader version 330 runs on my desktop WinXP-64 m/c but on my Win7-64 laptop doesn't work and seem to be getting bogged in shader versions/GL versions, when the issue is something else.

Graham