Sphere MapSpecific Math (2)
Convert to texture coordinate range
- Convert [-1 .. +1] range to [0 .. 1] range
- Easy scale and translate
- s = s’/2 + 0.5
- t = t’/2 + 0.5
- Observation: If reflection vector is true unit vector, texture coordinates guaranteed to fall within sphere map texture circle.