VBO - Indexation without indexation
问题 I'm trying to use the VBO with a Element Array Buffer for my triangle, like this : glBindBuffer(GL_ARRAY_BUFFER, g_Buffer[0]); glVertexPointer(3, GL_FLOAT, 0, BUFFER_OFFSET(0)); glNormalPointer(GL_FLOAT, 0, BUFFER_OFFSET(Model->GetNbVertex()*3*sizeof(float))); glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, g_Buffer[1]); glDrawElements(GL_TRIANGLES, Model->GetNbTriangle()*3, GL_UNSIGNED_INT, BUFFER_OFFSET(0)); But I wanna use some Texture Coord, but my TextCoord isn't willingly "indexed" A triangle