Re: [osg-users] How to use different shader for different cameras ?

2011-09-05 Thread Aurelien Albert
Thanks for your answers ! But the special rendering-mode shader is not the same for all the objects, so how can I : - tell to object A : your special shader for special rendering mode is this one - tell to object B : your special shader for special rendering mode is this one - tell to

Re: [osg-users] How to use different shader for different cameras ?

2011-09-05 Thread Paul Martz
On 9/5/2011 1:49 AM, Aurelien Albert wrote: Thanks for your answers ! But the special rendering-mode shader is not the same for all the objects, so how can I : - tell to object A : your special shader for special rendering mode is this one - tell to object B : your special shader for

[osg-users] How to use different shader for different cameras ?

2011-09-04 Thread ALBERT Aurélien
Hi, I'm building an application based on OSG and I'm trying to have 2 viewports in my GUI, showing the same scene, but from different cameras, each camera having a rendering mode parameter. Everything works, but I don't know if there is an efficient way to manage the rendering mode parameter

Re: [osg-users] How to use different shader for different cameras ?

2011-09-04 Thread Paul Martz
On 9/4/2011 2:12 PM, ALBERT Aurélien wrote: Hi, I'm building an application based on OSG and I'm trying to have 2 viewports in my GUI, showing the same scene, but from different cameras, each camera having a rendering mode parameter. Everything works, but I don't know if there is an