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!