I want to have a reflective surface in my scene, I've decided to use Pbuffer to make a reflection cube map.
The problem is: I know how to create/bind/destroy pbuffer, but how to actually render a reflected surroundings to a cube map? And how to map this cube map to a surface to get a proper reflection?

V-man

01-22-2004, 02:11 PM

Read this
http://oss.sgi.com/projects/ogl-sample/registry/ARB/wgl_render_texture.txt

If you already know about p-buffer, then extending them is easy to support RTT.