Flint Particle System Forum - Glow filter = ever expanding circle of doom Thu, 23 Jun 2011 13:20:44 +0100 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher Glow filter = ever expanding circle of doom http://flintparticles.org/forum/comments.php?DiscussionID=257&Focus=921#Comment_921 http://flintparticles.org/forum/comments.php?DiscussionID=257&Focus=921#Comment_921 Thu, 24 Sep 2009 18:28:40 +0100 TackleMcClean
Is this normal? If not what am I doing wrong? ]]>
Glow filter = ever expanding circle of doom http://flintparticles.org/forum/comments.php?DiscussionID=257&Focus=927#Comment_927 http://flintparticles.org/forum/comments.php?DiscussionID=257&Focus=927#Comment_927 Fri, 09 Oct 2009 07:43:42 +0100 Richard
It probably is normal - since the glow is applied every frame before rendering the particles, the glow is applied to the last frame's particles and glow, causing the glow to expand.

You need to add your filter as a post-render filter, by setting the second parameter in the addFilter method to true -

renderer.addFilter( myFilter, true );

Then, every frame, the display will be cleared, the particles will be drawn, and then the filter will be applied. Pre-render filters (the default) are applied before the particles are redrawn, and to make this work the screen is never cleared. ]]>
Glow filter = ever expanding circle of doom http://flintparticles.org/forum/comments.php?DiscussionID=257&Focus=930#Comment_930 http://flintparticles.org/forum/comments.php?DiscussionID=257&Focus=930#Comment_930 Wed, 14 Oct 2009 10:33:27 +0100 TackleMcClean
FLiNT is so awesome I'm dreaming of particles. Good work! ]]>