Mat Groves Posted November 14, 2013 Share Posted November 14, 2013 Howdy all! Thought this would be a good place to let you all know that we have finally got round to implementing realtime filters in pixi.js for the webGL renderer More info can be found on our blog: http://www.goodboydigital.com/pixijs-webgl-filters/ Also you can check out the fish pool demo to see filters in action: http://www.goodboydigital.com/pixijs/examples/15/indexAll.html Best off all? They are hot to trot, easy to add and you can start using them right now Enjoy! Mat Quote Link to comment Share on other sites More sharing options...
benny! Posted November 14, 2013 Share Posted November 14, 2013 To cool to be true! Quote Link to comment Share on other sites More sharing options...
mwatt Posted November 14, 2013 Share Posted November 14, 2013 Pixi just keeps getting better and better. This is a very sexy addition to the WebGL side of things. Quote Link to comment Share on other sites More sharing options...
yetanother Posted November 15, 2013 Share Posted November 15, 2013 This is howsome!I wonder how hard it could be to implement light-map filters for dynamic lightning on 2d sprites.... Quote Link to comment Share on other sites More sharing options...
MonsieurPixel Posted November 15, 2013 Share Posted November 15, 2013 Thanks ! Amazing as usual ! Filters don't seem to work on Graphics though but that is not a big deal. Quote Link to comment Share on other sites More sharing options...
Mat Groves Posted November 17, 2013 Author Share Posted November 17, 2013 Thanks everyone! Glad you like em' This is howsome!I wonder how hard it could be to implement light-map filters for dynamic lightning on 2d sprites.... Not so hard at all Thanks ! Amazing as usual ! Filters don't seem to work on Graphics though but that is not a big deal. Interesting, filters are supposed to work on graphics too :/ if you could share some sample code, I would be more than happy to fix the issue! Thanks Quote Link to comment Share on other sites More sharing options...
MonsieurPixel Posted November 18, 2013 Share Posted November 18, 2013 Interesting, filters are supposed to work on graphics too :/ if you could share some sample code, I would be more than happy to fix the issue! Well, just go here : http://pixelshaped.com/reunionjs/ And type this in the Chrome Console :mainContainer.filters = [blurFilter]; Assuming mainContainer is a PIXI.DisplayObjectContainer that contains the whole thing. And that blurFilter is a PIXI.BlurFilter. You can display the source, nothing is obfuscated Maybe I did something wrong, though. Quote Link to comment Share on other sites More sharing options...
enpu Posted November 19, 2013 Share Posted November 19, 2013 I have tested the filters on Android and iOS and here are my results: iPad 2 (iOS 6.1.3) with CocoonJS Launcher 1.4.5issues: Not working, only black screen. Nexus 7 (Android 4.3) with CocoonJS Launcher 1.4.5issues: Working, but slow. (BlurFilter 19fps, GreyFilter 52fps) Nexus 7 (Android 4.3) with Chrome 31.0issues: Working! (BlurFilter 32fps, GreyFilter 60fps) Nexus 7 (Android 4.3) with Firefox 25.0issues: Working! (BlurFilter 37fps, GreyFilter 60fps) Quote Link to comment Share on other sites More sharing options...
Mat Groves Posted November 20, 2013 Author Share Posted November 20, 2013 I have tested the filters on Android and iOS and here are my results: iPad 2 (iOS 6.1.3) with CocoonJS Launcher 1.4.5issues: Not working, only black screen. Nexus 7 (Android 4.3) with CocoonJS Launcher 1.4.5issues: Working, but slow. (BlurFilter 19fps, GreyFilter 52fps) Nexus 7 (Android 4.3) with Chrome 31.0issues: Working! (BlurFilter 32fps, GreyFilter 60fps) Nexus 7 (Android 4.3) with Firefox 25.0issues: Working! (BlurFilter 37fps, GreyFilter 60fps) Thanks for this enpu! Most interesting..I will have to investigate further methinks! 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.