RE: [osg-users] Disable depth write

2006-06-12 Thread Paul Martz
> 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

[osg-users] Disable depth write

2006-06-12 Thread Poirier, Guillaume
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