NMN Posted September 20, 2019 Share Posted September 20, 2019 Hi All, I'm trying to implement a paint brush blur filter similar to the brush displacement filter here: https://codepen.io/PavelLaptev/pen/aLVbxG . Could anyone point me in the right direction? Thanks! Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted September 20, 2019 Share Posted September 20, 2019 Hi! I dont understand the question: you already have the answer in codepen, just swap displacement for blur. In general there's a plugin to make filters like that easier called pixi-picture that's not yet ported to v5. However, you can do without it exactly the way like in codepen. You cant get rid of RenderTexture operations, they are required. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted September 20, 2019 Share Posted September 20, 2019 Oh, i've got it Yeah, DisplacementFilter has input sprite for brush, and blurfilter doesn't. Let me port pixi-picture to v5 this weekend and you'll get that blur thingy! Quote Link to comment Share on other sites More sharing options...
NMN Posted September 20, 2019 Author Share Posted September 20, 2019 Great thanks a lot! Looking forward to the port. So I should be able to get the blur brush working with pixi-picture and v4 in the meantime? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.