Hi Paul, you are right, I only used that for testing. But also with GL_DEPTH_COMPONENT it doesn't work. In my experience the readPixel command doesn't work for of screen rendering?!
I would prefer the version with the variable depth which is attached to the camera. In my first post I forgot to say that I still use version 2.6 of osg. Regards, jojo ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=11149#11149 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org