How to apply filters effects to an rectangle area of image/group.

I have a group of images at background layer.

I want to:

  1. Make  a rectangle sub area have filters effects
  2. On top of that filtered rectangle, add a non filtered text.

The problem is currently the filters effects are only apply to whole object.

How can I do this?

Hi @xpol-vanci,

For this, you would probably need to capture the area you need to work with (using “captureBounds()” perhaps) then apply filter effects to that new object.

http://docs.coronalabs.com/api/library/display/captureBounds.html

Best regards,

Brent

captureBounds will capture the filtered image as well.

So if my background if moving, the filtered area will have latency to catch up with the move.

Can I just use a OpenGL shader in side Corona?

Hi @xpol-vanci,

I don’t understand what you are trying to accomplish. Can you post a screenshot, or describe this in full detail?

Thanks,

Brent

Hi @xpol-vanci,

For this, you would probably need to capture the area you need to work with (using “captureBounds()” perhaps) then apply filter effects to that new object.

http://docs.coronalabs.com/api/library/display/captureBounds.html

Best regards,

Brent

captureBounds will capture the filtered image as well.

So if my background if moving, the filtered area will have latency to catch up with the move.

Can I just use a OpenGL shader in side Corona?

Hi @xpol-vanci,

I don’t understand what you are trying to accomplish. Can you post a screenshot, or describe this in full detail?

Thanks,

Brent