VBOs Do TexCoords align to indices or vertices?
Posted by millerni456 on Oct 01, 2011; 4:18am
URL: https://forum.jogamp.org/VBOs-Do-TexCoords-align-to-indices-or-vertices-tp3384359.html
EDIT: The answer is vertices.
The subject displays my question. I'm just trying to find out if the texture coordinates
correspond to the indices, or the vertices (in regards to using Vertex Buffer Objects).
I'm trying to make a cube with 8 vertices and 36 indices (because I'm using GL_TRIANGLES).
I thought that if I had 8 texture coordinates, then my whole cube wouldn't render with textures.
So...Do i need 36? or how does this work?
Thanks in advance!
-Nick.