View Full Version : Texture on a sphere...

04-30-2004, 12:48 AM
hi guys..
i have put a texture on a sphere by using glTexGeni. The texture turns out fine on the sphere but the problem is that even if I move the camara or rotate the sphere, the same side of the texture is always facing me. When I move the camera, I want to see the side of the texture which should be on that side of the sphere, but the same texture point is always facing me.. how can i keep the texture static on the sphere??

04-30-2004, 06:42 AM
Sounds like you passed GL_EYE_LINEAR to glTexGen.
rather than that, try passing GL_OBJECT_LINEAR.