To get the cheap enviroment mapping effect, I can do:
glTexGeni(GL_S, GL_TEXTURE_GEN_MODE, GL_SPHERE_MAP);
-same of T
Now how are these S and T values calculated?
Anyone know the algorithm?
Where to find info on it?
Is there a way to extract those automatically generated values?