Login  Register

Re: Problem with glDrawArrays

Posted by Matteo Battaglio on Aug 25, 2011; 9:46am
URL: https://forum.jogamp.org/Problem-with-glDrawArrays-tp3280569p3283488.html

I think that if GL_COLOR_ARRAY isn't enabled you can specify the color using glColor4f(...) even if you are using glVertexPointer/glDrawArrays...
However I updated my code and added glColorPointer and the color array, but it still shows nothing.

Here's the code: Renderer.java

Any hints?