Hi everyone,
I'm trying to get a shader working for a new technique (to me) - environment mapping. I know that I need to render the world around me to a 'cube texture' and that I then need to sample that texture in my shader, but I don't really know where to start with cube maps. Can anyone recommend a good place to learn about them? Is there some good sample code which will show me how to render my scene to a cube texture?
Thanks!