Hi Robert,
I thought it would be that simple, couldn't find it in the code though.
Thanks!
regards
Raymond
Robert Osfield wrote:
HI Raymond,
You simple disable the writes to the colour buffer using the
osg::ColorMask StateAttribute.
Robert.
On Fri, May 15, 2009 at 3:33 PM, Raymond de Vries <[email protected]> wrote:
Hi everyone,
I've searched the mailing list but could not find an answer or clue for the
solution to my problem.
In principle, the issue seems simple to me but I find it hard to come up
with an OSG solution. I would like to start my rendering with an object that
does write to the depth buffer but does not write to the color buffer. I
expect that I need to do something about the color mask but that is a camera
setting.
Can anyone point me in the right direction?
Thanks a lot, best regards
Raymond
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org