[Papervision3D] Dynamic effects on a material
jonas.bjornange at tcf.se
Wed Jun 4 00:31:33 PDT 2008
> Maybe because you're executing updateEffects on your onEnterFrame loop no
> ? :)
> In fact you see just the blur filter 100,100,2
Im not sure how you mean.
Im calling the updateEffects from my onEnterFrame loop yes, but that is what
I want it to do. The effect should update constantly onEnterFrame.
In my code example I first set the effect to blur 100,0. Then I wanted it to
update to 100,100 by calling the updateEffects(material1,100) just to see a
change if it worked. But it didn't. I just didn't get any blur att all (0,0)
when I called the updateEffects function.
But now when I use removeAllEffects() first in the updateEffects function it
works. And now when it works I change the blurAmount dynamicly when I call
the updateEffects function from the onEnterFrame loop.
View this message in context: http://www.nabble.com/Dynamic-effects-on-a-material-tp17554046p17640832.html
Sent from the Papervision3D mailing list archive at Nabble.com.
More information about the Papervision3D