In the analytical method of polygon-based computer-generated holography, the spectrum of the surface function of an arbitrary polygon (triangle) is expressed in terms of the spectrum of a unit right triangle, which is known analytically. We perform texture mapping by dividing the triangle into many unit right sub-triangles which contain the texture information. The method has been verified by computer simulations and optical experiments.