Login  Register

Re: Need Help Solving OpenGL/GLSL 4.4 Issues

Posted by gouessej on Jul 22, 2014; 12:08pm
URL: https://forum.jogamp.org/Need-Help-Solving-OpenGL-GLSL-4-4-Issues-tp4032557p4032621.html

Ok, it's crystal clear now, I understand what you're trying to achieve. Your triangle isn't displayed when using JOGL whereas each vertex has a correct position set in the vertex shader. Please use a PMVMatrix and ShaderCode/ShaderProgram/ShaderState like in the example I quoted in order to eliminate some sources of mistakes. I don't know why it doesn't work as is.
Julien Gouesse | Personal blog | Website