Re: [osg-users] Is it possible to clear just certain textures in a framebuffer with multi target rendering?

2017-09-13 Thread Amudhan Subashgobi
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. Is there any plan to add this extension to OSG? Thank you! Thanks and Regar

[osg-users] Is it possible to clear just certain textures in a framebuffer with multi target rendering?

2017-09-13 Thread Amudhan Subashgobi
Hi, Is it possible to clear just certain textures in a framebuffer with multi target rendering? i am searching for equivalent functionality for glClearBufferfv. Any help would be greatly appreciated. example shader code: out vec4 fragcolor1; // first target out vec4 fragcolor2; // second targ