[osg-users] Is it possible to clear just certain textures in a framebuffer with multi target rendering?
Sebastian Messerschmidt
sebastian.messerschmidt at gmx.de
Wed Sep 13 06:34:11 PDT 2017
Hi Amudhan,
> Hi Sebastian,
> Thanks for your reply.
> It worked using 2 cameras passes to achieve the result. I was wondering to achieve the same result with single pass. I will be working huge models and i didn't want to run 2 passes.
Since you're doing MRT and multiple passes anyway, can't you simply add
an otherwise empty pass that only clears? So basically binding the
rendertarget you need to clear and do nothing but clear.
>
> Is there any plan to add this extension to OSG?
OpenSceneGraph is community driven anyone is invited to contribute. In
my opinion adding extensions is usually a relatively complicated
process, since there are a lot of side effects to be taken into account,
but we're glad to help if you want to try.
Cheers
Sebastian
>
> Thank you!
>
> Thanks and Regards,
> Amudhan
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=71705#71705
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
More information about the osg-users
mailing list