[osg-users] Using the Zbuffer of the MasterCamera to render the SlaveCamera

Art Tevs arti_tevs at yahoo.de
Tue Mar 24 03:27:33 PDT 2009

Hi Daniel,

Have you took a look into this thread: http://forum.openscenegraph.org/viewtopic.php?t=1778&highlight=zbuffer ? (I do not know if that was you or not, because the user names of the authors are different)

So you have given two depth buffers in a texture, right? And you want to compare them to render the results on the screen? Take a look into osgPPU, you could use this to compare (in a shader) your both depth buffers and to write the output to another texture, which can then be used further.


Read this topic online here:

More information about the osg-users mailing list