[osg-users] Disable rendering to screen

Werner Modenbach Werner.Modenbach at texion.eu
Fri Apr 28 06:09:17 PDT 2017


Hi all,

I have a scene with child cameras.
I add a rtt slave camera and want only the slave to render and nothing 
being rendered to the screen.

I tried setting the ColorMask of the main camera to all false.
This works for the main  camera, but the child cameras still render to 
screen.
Setting ColorMask on the child cameras is no option because they need to 
render on the slave camera.

Is there any easy way of suppressing rendering to screen when calling 
frame() method?

Thanks for any hints.

- Werner -




More information about the osg-users mailing list