Tag Info

New answers tagged

0

I didn't use normals (bind them, set them, etc) on my VBO, but they were already on my immediate mode cubes.


0

Depends whether you use indices(elements) or not (arrays). niether, you should use gl.glVertexPointer(3, GL.GL_FLOAT, stride, (const GLvoid *) offsetOfFirst), unless you lib overrides it ofcourse. no idea, sorry, I use attributes means you pass wrong UVs. To shader you pass only sample location. (make sure UVs are in range 0.0 - 1.0) you really should ...



Top 50 recent answers are included