The basis of texture mapping