Problem with Cube Maping

My sphere doesn’t reflect right! When I move around, it shows always the same thing… Like simple sphere mapping! And the textures are fliped!!! What am I doing wrong? I’m I enabling things right (GL_S, GL_T, GL_R)? The bubble demo from NVidia doesn’t help a lot soooooo… HELP!!!


The above URL gives you the needed code for view independance for cube mapping, it basically aligns the cube map with the world axes.

Look at the Dynamic Cube Mapping Discussion to see how I got around the textures being flipped, its not great but it works.