Re: JOGL2 + OpenGL 3.3
Posted by
swilson007 on
May 07, 2013; 12:39am
URL: https://forum.jogamp.org/JOGL2-OpenGL-3-3-tp4029102p4029105.html
Don't know if this helps you, but if you want a quick working example of GL3/GLSL15, I just ported the example over at:
http://www.lighthouse3d.com/cg-topics/code-samples/opengl-3-3-glsl-1-5-sample/It's in the comment section after the c++ example code.
It works using pure GL3 (no backwards compatibility required)... Note there's a small bug in that if your shader or program has a compile error it won't print anything out.
OK I just uploaded it including the vert and frag shaders.
GL3Sample.zip