Pack textures into a single atlas.