Thanks Robert,

I think a solution could be adding default COLOR_BUFFER and DEPTH_BUFFER
attachments to FBO Cameras. They are not set currently and thus dirty work
of setting them is done by RenderStage. If they were set by default in
Camera users could directly override or remove them.

If they were set by default it should also work for those who relied on
their presence.

I think this would be a good solution, although I'd rather user code
explicitly enables this stuff rather than make assumptions about
defaults as defaults can always change...

I agree. Such camera attachment defaults make situation much more unpredicable. We don't know what issues it may bring. On the other hand, forcing users to explicitly define attachments is only a small one time pain for those users who relied on current RenderStage behaviour.

Cheers,
Wojtek


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

Reply via email to