create a flat seamless texture from the tile pattern