As I understand, the command camera->attach(osg::Camera::COLOR_BUFFER, 
depth.get(),0,0); tells osg, that I want the color buffer of the camera to be 
stored in the image depth. This works, but when I change it to 
camera->attach(osg::Camera::DEPTH_BUFFER, depth.get(),0,0); I get the same 
result. A colored picture.

Regards,
jojo

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





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

Reply via email to