Skip to main content
Inspiring
October 12, 2011
Question

Why does GlowFilter only work with Rendering set to CPU and not GPU?

  • October 12, 2011
  • 1 reply
  • 1752 views

I used GlowFilter in another iPhone project and it worked fine, but not in this new one, after quite some time testing everything I finally found out that it's because the other app was set to CPU. This new app performs awful in CPU and must be in GPU, but GPU doesn't show glow effects for some reason. Anyone know why? Any workaround?

var shipGlow:GlowFilter=new GlowFilter(0x00FFFF,1,6,6,2,2);

var ship:MovieClip = new ShipMC();

addChild(ship)

ship.x=100

ship.y=100

This topic has been closed for replies.

1 reply

Inspiring
October 12, 2011

Yeah, I figured out a way to use filters in GPU mode... I wrote it up here:

http://forums.adobe.com/thread/905775

TenchyMyoAuthor
Inspiring
October 12, 2011

Nice, ty, ty, ty.. WIll have a look.

TenchyMyoAuthor
Inspiring
October 12, 2011

So much code for the tiny thing I want to do. And seems like only bitmaps can be used as "Msgbox_Background" in "bm = new Bitmap(new Msgbox_Background(), "auto", true);" I only use movieclips. After following all the steps nothing is generated on the screen.

Could you be so kind to make a small version doing just the tiny thing I want, like in the code in my first post? Attaching a movieClip from the library and add glow to it. The stuff I draw is drawn in flash, no bitmaps.

Thank you.