yeah,
thats probally the best way.
but since filters are stored in
an array, you can just overwrite
your filters at run time as well
thing.filters = [new BlurFilter(...)];
but using the remove call is
probally better on the memory
managment side... :D
---------- Forwarded message ----------
From: Gibbah <jonas.bjornange@...>
To: papervision3D@...
Date: Tue, 3 Jun 2008 01:26:36 -0700 (PDT)
Subject: Re: [Papervision3D] Dynamic effects on a material
Oh, I just found out how to do it.
I used removeAllEffects() before I added a new effect :-D
In other words, delete the old effect first and then set a new.
--
View this message in context: http://www.nabble.com/Dynamic-effects-on-a-material-tp17554046p17618612.html
Sent from the Papervision3D mailing list archive at Nabble.com.
_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org