i have problems with this function. It’s about other data like normals and texturecoords.
I have cube. it has 8 vertex positions. 36 normal positions and 12 texcoord positions.
How can i draw it with glDrawElements ? because vertices, normals aren’t same, how indices works there ? How to sort normals and textures to get it work ?
i was looking for examples on internet, but lots fo them aren’t using normals.
Thank you for answer