I am extremely confused about how to pass a cube map texture into my fragment Program.

Here is the code I used to create the cube map.


glEnableClientState(GL_TEXTURE_CUBE_MAP);
...