Anyone have a new tutorial on lwjgl using OpenGL 3.x and above? Things like glBegin and quads are supposedly deprecated.
I'm trying to follow this tutorial (http://duriansoftware.com/joe/An-intro-to-modern-OpenGL.-Table-of-Contents.html) but getting stuck on a few parts in regard to bindBuffer/drawElements in the rendering section. (That is, it crashes).
In drawElement (http://www.lwjgl.org/javadoc/org/lwjgl/opengl/GL11.html#glDrawElements(int,%20java.nio.ByteBuffer))(in lwjgl) what are the indices? A byteBuffer of the ids of the FloatBuffers that contain the vertexArray?