Hi,

I did not make it with stencil, but with shader on FBO offscreen rendering -
to put node ( with a 'hole' ) with specific color above current rendering
and then discard  pixels with this color in pixel shader, when rendering and
then setting output of FBO as texture to screen quad.

That might be quite a long way ( and maybe not the best one ) - but it
worked for me.

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

Reply via email to