both textures should be 512x512