Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using this algorithm to find texture coordinates on a sphere: Wikipedia UV Coordinates

I get the famous seam due to the wrong interpolation, but I also get odd distortions on certain points on the sphere. A picture follows where you can see like five starshaped distortions.

enter image description here

What could cause this?

share|improve this question
Depending on how your UVs are calculated, if your UV coordinate goes beyond the range of [0 1], then maybe there is a modulo so a value of 1.01 becomes 0.01. Then from one polygon to the next you have the whole texture scrunched up and backwards along one, or both, axes. – DaleyPaley May 28 '13 at 23:46
up vote 0 down vote accepted

Took me some time, but I finally found the problem. In the wiki entry is written that the unit vector is needed. I basically forgot to normalize the vector before the calculation!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.