PDA

View Full Version : Rotating a texture on a sphere



12-11-2003, 05:16 AM
Hello! Why can't I rotate a simple mapped sphere? I load the bmp image, use bindtexture and rotate it, but the texture remains in the same place,why?
with all others objects it isn't a problem,but with the sphere it seems to have something wrong,please help me, thanks!

Mazy
12-11-2003, 05:22 AM
why do i always get a deja vu feeling when im looking at various forums..

how is the texture coordinates defined? are you using GL_SPHERE_MAP and texGen? if so, then this is the expected behaivour.