1 Reply Latest reply: Apr 19, 2011 5:09 PM by Pea RSS

    Filters don't work on 2.6 GPU

    FLAdude Community Member

      I am using filters such as glow and blur filters in my app with packger 2.6. The filters break and do nothing.

       

      Switching to CPU makes filters work, but makes everything laggy. How do I make the filters work in GPU?

        • 1. Re: Filters don't work on 2.6 GPU
          Pea Community Member

          They don't work in GPU. They have been disabled, presumably because of performance issues.

           

          To get the same effect add your filters in CPU then take a snapshot of your clip and store it as a bitmap to use in GPU.  Use this bitmap from then on.  You'll have to get fancy if you have timeline or other animation.

           

          See BitmapData.draw