I’m trying to use the GL_SPHERE_MAP feature to create a sphere mapping for an envoriment texture.
Everything seems to work fine, except that rotating the camera doesn’t effect the generated texture.
If I rotate the object when drawing it, then the texture looks like it’s reflecting the envoriment. Where as rotating the camera as no effect.
What could I be doing wrong?