Hi eveyone: I'm now trying to render a scene with Depth function set to osg::Depth::Function::GREATER, and I get an empty screen. I have found that the viewer set glClearDepth to 1. Because no fragment will be greater than 1, so I get an empty screen.
I'm using osgViewer::Viewer, but I found I can't set the glClearDepth value. All I can found is the osgUtil::RenderStage::setClearDepth() function. Is there any way to set clear depth value to another value in a simple way? Thanks in advanced! _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

