2010/1/11 Dominic Stalder <[email protected]>

> camera->attach(Camera::COLOR_BUFFER, image.get(), 0, 0); -->
> camera->attach(Camera::DEPTH_BUFFER, image.get(), 0, 0);
>

Well you are trying to attach a depth texture to the color buffer, that's
not going to work.

Try

camera->attach(Camera::DEPTH_BUFFER, ...

instead.

-- 
http://www.ssTk.co.uk
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to