Hi Jerome,

I don't have an easy answer as the osgFX effects can cover a wide
range of state.

The best thing would be to move the text out from the subgraph you'd
adding the effect to.

Robert.

On 2/28/07, Jérôme VOLPOËT <[EMAIL PROTECTED]> wrote:
Hi,

I encounter a problem using both osgText and osgFx.
I've a (dynamically created) graph that can contain Effects and Text (e.g.
osgFX::Cartoon and osgText::Text), but when a Text is a child of an Effect,
the texture rendering of  the Text is modified by the effect. I want to
prevent this (normal) behaviour, so I tried to play with the StateSet of the
Text ( protecting attributes and mode ), but it doesn't seem to works.
How can I protect such a Text node from being rendering with the effect's
technique's statesets ?

Jérôme

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to