PDA

View Full Version : HOWTO: making dynamic reflections w/ Pbuffer



EnemyOfTheStateMachine
01-22-2004, 03:06 AM
Good morning / afternoon / evening!

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, 03: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.