Implemented multi-textured terrains - currently supports up to 5
textures per terrain