interpolation for texture mapping