Click here to get the file
A major drawback to 2D texture mapping is the necessity of handling singularities. For instance, a spherical mapping has two singularities, one each at the North and South Poles. Just as it makes no sense to talk about the time zone at the North Pole, itís impossible to determine the second texture coordinate by the usual mathematical conversion. A programmer has to anticipate singularities and handle them as special cases or the program will bomb.