Hi,

I'm trying to implement a custom osg::Drawable which need to check the depth 
component of a certain pixel before rendering itself. The problem is, 
glReadPixels always returns 1.0 (even for the entire viewport, which obviously 
should not be possible). I didn't touch the default settings of depth 
test/range. Can anyone guess what the problem might be?

... 

Thank you.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=11044#11044





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to