PDA

View Full Version : Depth buffer & rendering to texture.



1024
08-11-2004, 10:00 AM
Hi,

I have to render to a texture and use the depth buffer (that gets filled with userful data in process of rendering to that texture) when drawing to other textures.
=> 1 depth buffer for x 'render to texture' targets.

Is it possible? If it is - then how? If not then - is there hope that in near future it will be possible?
(i have spent 2 days to figure out something about it, but the relevant extensions are a god damn mess and none of the examples does what i need.)

OpenGL 1.5 can be assumed. (Radeon 9600)

Help!

1024
08-16-2004, 01:17 PM
***update***

Found this:
http://www.opengl.org/resources/features/GL_EXT_render_target.txt

Any idea when it gets available?
Also, my english isn't THAT good - not sure what it gives.
Does it give the functionality i need?