Original Post
I''m trying to use glDrawElement to rendering objects. The object is broken down to vertex array, normal array and texture coord array. Using vertex normals I have the vertex array and normal array be the same size. The texture coord array however is larger. Since glDrawElement only takes in one index array how can I get the texture coord array also working with the same index? Does glDrawElement even support textures? I could write a for loop that loops through all the arrays but that''s a lot slower, any ideas?