gl_VertexID in GLSL Vertex Shader
Posted by JD on Apr 22, 2013; 2:27am
URL: https://forum.jogamp.org/gl-VertexID-in-GLSL-Vertex-Shader-tp4028994.html
When I try to access gl_VertexID in my vertex shader, I get a compilation error saying it is an undefined variable. As near as I can tell, that has been available since version 110 of GLSL. My program is 120 (apparently the latest I can run in this version of JOGL). Any ideas why that is?