jouniii Posted August 7, 2014 Share Posted August 7, 2014 I needed some aging filters for a game and ported two webgl shaders to Phaser filters. Licensing carries over (quite liberal licensing, so I though keeping it that way), so that's why I'm releasing the filter code here: https://github.com/jounii/phaser-filterkit The two filters are: Vignette, for classic vignette effect. Pretty straight port from Evan Wallace's implementation. He has tons of other great shaders too, but don't have need for those now. FilmGrain, for a realtime (although filter has small impact on fps) realistic analog type of film grain. It was a bit job to find this kind of filter which looked good, but here it is. It is based on Martin Upitis' research and code (http://devlog-martinsh.blogspot.fi/2013/05/image-imperfections-and-film-grain-post.html). Ported (with some adaptations) from the shader code he released. There's small demo also which I used for testing the filters (looks better animated): clark, SET001, lewster32 and 1 other 4 Link to comment Share on other sites More sharing options...
Softwave Posted August 8, 2014 Share Posted August 8, 2014 Thank you for this; this is exactly what I've been looking for. Link to comment Share on other sites More sharing options...
Softwave Posted August 14, 2014 Share Posted August 14, 2014 I used this for a simple asteroids clone type game. Mixed it with a transparent scanline image to make a CRT-like look. Game: http://softwavestudios.com/apps/roids/Source: https://github.com/Softwave/r01dz Link to comment Share on other sites More sharing options...
jouniii Posted August 14, 2014 Author Share Posted August 14, 2014 Yes, makes simple game look much more graphically intense than it actually is Link to comment Share on other sites More sharing options...
clark Posted August 14, 2014 Share Posted August 14, 2014 I missed this the first time around, this is great Jouniii Link to comment Share on other sites More sharing options...
Recommended Posts