Perspective Environment Mapping

I’m having difficulty understanding how to set up the GL_TEXTURE matrix to properly scale and project the texture coordinates automatically generated using GL_SPHERE_MAP to match or scale with the distance of the polygons from the viewer’s position in eye space. Anyone tackle this problem already?