Enviromental Mapping

Is there an easy way to do Enviromental Mapping in OpenGL ?

You can use sphere mapping, which works on all OpenGL compatible cards.

Or you could use the cube mapping extension, which is easier, but only currently works on GeForces and Radeons.


I was reading on NeHe tutorial about enviormental mapping (lesson24) that you have to shortent the normals or the sphere mapped image will be to zoomed in. The problem is that I use lighting in my programs and halfing the normals makes the objects very dim. Is there any other way to zoom out the texture? Maybe make the sphere map smaller if thats possible?

I’ve done it!