Skip to main content
Known Participant
August 23, 2013
Question

ApplyFilter with PixelBender does not respect rectangle clip area?

  • August 23, 2013
  • 1 reply
  • 493 views

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

This topic has been closed for replies.

1 reply

Inspiring
August 26, 2013

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

SmoczyAuthor
Known Participant
August 26, 2013

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.