Dynamic Cube Maps

I’d like to include dynamic cube maps in my project. As far as I understand I need to create cm textures dinamicaly. So I must call 6x [gluLookAt(…), glCopyPixels(…)] and then use these 6 textures as my cm. And finally draw the object using created cm.
Is this the right way? How many passes that’ll take? Maybe there is better way?

Here’s a tutorial which should help you. It requires some OpenGL extensions, but should run on most Radeon and Geforce, I think.

The tutorial at the bottom is the one you’re looking for.

Hope that helps!

Thanks, now I got it