I am making a tile-based game and have just finished reading through the vertex array tutorial. After some background reading it seems that using vertex arrays to handle my tile generation I save alot of hassle and hardware stress. The part that confuses me, and I know it's probably a silly question, is how do I create a vertex array for more than 4 textures? E.g. my tile-map contains currently 10 different textures, but I can't see how the tutorial can be adapted for more than 4. Apologies for such a low level question.