[osg-users] Avoid cleaning drawing buffer

Şan Güneş sgunes at 350.su
Fri May 8 00:11:02 PDT 2015


On Fri May   8 07:49:38 2015 Leandro Linardos <leandro.linardos at gmail.com> wrote:
> Is there any way to avoid cleaning the drawing buffer? 

You can use the setClearMask() function of the camera class. Normally you would provide the buffers which you want to be cleared. In your case you can just pass it a null or only clear the depth buffer. For example:


More information about the osg-users mailing list