prep for texture mapping