Hi,

I have a scene graph like this:

Stage --- Group ---- Rectangle

On the Group I set a fragment shader, let's say for color balancing.
On the Rectangle I set another fragment shader, for some emboss effect

I would have dreamed of having a real scene graph behavior, where the two shaders would combine each other, typically by having the Rectangle shader output be an input for the Group shader, whose output would be the final pixel on the framebuffer.

But in reality, the Rectangle shader just overrides the Group shader ?

Do you think Clutter could make my dream a reality ?
If not, what is the point of enabling shaders for group actors ?

I know this is a tough question, as even OpenGL does not support the combination of shaders, afaik.

Just food for thoughts,

Michael

--
Michael Boccara
Graphtech
Herzliya, Israel


--
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to