Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ApplyFilter with PixelBender does not respect rectangle clip area?

Explorer ,
Aug 23, 2013 Aug 23, 2013

Hello,

I've been messing around with PixelBender shaders and when trying to squeeze out some additional performance, I've noticed (in Scout) that using built-in filters with bitmapData.applyFilter the "source rectangle" works as intended, but with PixelBender shader it is somewhat ignored and the whole bitmap ends up being processed.

Does anyone know how to deal with that? As in, I would really like to filter only a small part of an image.

Here is an example Flash CC project: http://adobe.ly/16pd7du

TOPICS
ActionScript
468
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Aug 26, 2013 Aug 26, 2013

why do you not simply write the content of the screen-region you want pixelBendered into a seperated Bitmap-Object?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 26, 2013 Aug 26, 2013
LATEST

Because I am trying to improve performace not degrade them further. The actual application I need this for will never have a constant update area.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines