> Quick question... I use ortho CameraNodes with FBO to do
> post-processing passes on a quad. Is it possible to disable
> all writes to the depth buffer so that I can keep my original
> scene render depth values ?
Yes. See osg::Depth::setWriteMask(). You'll want to add an instance of this
Stat
Title: Disable depth write
Quick question... I use ortho CameraNodes with FBO to do post-processing passes on
a quad. Is it possible to disable all writes to the depth buffer so that I can keep
my original scene render depth values ?
I tried
camera->getOrCreateStateSet()->setAttributeAndMo