Original Post
I made a basic mesh loader, which loads vertices, normals and indices from a file. Next I'm going to add support for textures. But I render the model with glDrawElements. Each index in the index array passed to glDrawElements is used for all arrays (normal/vertex/color/uv). So how to have unique UV coordinates for each face without using immediate mode? What's the point textures if faces must share the same UV coordinates?