I think you just want to multiparent the model to the two different effect nodes, like this:

      root
     /    \
Effect1  Effect2
     \    /
      model

   -Paul

On 12/15/2012 3:49 PM, Peterakos wrote:
Hello.

I want to use 2 different effects on the same model but i am not sure
if this is possible.
I have 2 multi pass render algorithms implemented in 2 different effects.
Can i have the following graph ?

Effect1
    Effect2
        Model

Knowing that the child's state overrides the parent's, i would say
that you cant use 2 different programs one
after another on the same model unless you use both on the same effect.

Any idea of how i can achieve this ?

Thank you for your time.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to