[osg-users] Re: How to clean up Stencil Buffer between two nodes in OSG

2020-06-18 Thread te lee
Thank you very much. The code above works On Tuesday, May 19, 2020 at 4:07:19 PM UTC+8, Robert Osfield wrote: > > I have moved this posted from vsg-users to osg-users as this is the > correct forum for OSG support. > > In the OSG to do multi-pass effect that require clearing of the >

[osg-users] Re: How to clean up Stencil Buffer between two nodes in OSG

2020-05-19 Thread Robert Osfield
I have moved this posted from vsg-users to osg-users as this is the correct forum for OSG support. In the OSG to do multi-pass effect that require clearing of the depth/color/stencil buffers you use an osg::Camera. The osghud example has a code path that illustrates the use of osg::Camera to