[osg-users] Using the Zbuffer of the MasterCamera to render the SlaveCamera
robert.osfield at gmail.com
Tue Mar 24 07:20:17 PDT 2009
On Tue, Mar 24, 2009 at 1:32 PM, Daniel <d.wuttig at gmx.de> wrote:
> The best way would be a per pixel shader test.
If this is the case then you just need to set up your rendering pipeline so
that the first camera renders to an FBO with a texture attached to it's
Personally I'd avoid terming the cameras master and slave in your case, as
the first camera really doesn't sound like a master camera in the sense that
the OSG uses master/slaves in osgViewer. You usage model sounds simply like
a render to texture setup, with a series of RTT cameras. You have provided
enough info to comment much more, but for sure usage of mixed terminonogy
will be confusing for everyone.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users