Original Post
Hi, I'm using D3DXCreateSphere to create a sphere, and I want to texture that sphere. I'm using the formula tu=asinf(normal.x)/D3DX_PI+0.5f; tv=asinf(normal.y)/D3DX_PI+0.5f; to texture the Sphere, but it shows the texture twice on the sphere, one on the front and one on the back, and I want it to completely texture the sphere only once. So my question what is the formula to texture the sphere all around once. For example, Create a sphere globe and texturing it with a world map texture.