Jump to content

filter area acting strange?


colourclash
 Share

Recommended Posts

I was trying out some filter effects in Pixi 4 and noticed by setting the filterArea the region outside the area is no longer rendered. i.e. black
Is this the intended behaviour a filterArea? I was hoping for the filter to be applied only to the specified area and leave the rest of the image unaffected.
I made a codepen here http://codepen.io/anon/pen/VjAGmJ

Link to comment
Share on other sites

  • 1 year later...
On 5/28/2018 at 6:40 PM, chesovnik said:

So if I need the filter to be applied only to the specified area and leave the rest of the image unaffected (for example, blur for the half of image), I should use pixi-picture plugin with blendModes, should I?

If you put your shader instead of overlay, yeah. The other idea is to track "Backdrop" PR for pixi , take that branch and make your own blur based on it. In any case, its all for advanced users who dont fear of the core. Unfortunately, my PR's that make it easier for users were rejected.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...