hopewise Posted October 7, 2016 Share Posted October 7, 2016 I have an openFL project that renders to a canvas, I am planning to use pixijs as a top layer to show glowing filters on top of openFL canvas. I already have the pixijs Canvas on top of openFL canvas. But are there examples to achieve glowing effect on pixijs Sprite? Here is an example in Adobe Flash Player of what I am trying to do: http://dcaclab.com/en/experiments/9900-a-simple-test-circuit Thanks Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted October 7, 2016 Share Posted October 7, 2016 There's glow in https://github.com/pixijs/pixi-extra-filters , but I'm not sure if it works with v4 Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted October 8, 2016 Share Posted October 8, 2016 Done! Latest version of pixi-extra-filters work with GlowFilter. someSprite.filters = [ new GlowFilter(15, 2, 1, 0xFF0000, 0.5) ]; Quote Link to comment Share on other sites More sharing options...
hopewise Posted October 14, 2016 Author Share Posted October 14, 2016 Thanks!, its working 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.