NxT Posted January 14, 2014 Share Posted January 14, 2014 Hi all, I was wondering if there is a guide or documentation to using WebGL shaders in Phaser. Thanks. Link to comment Share on other sites More sharing options...
rich Posted January 14, 2014 Share Posted January 14, 2014 Shaders must use the Phaser.Filter template. You can find one in filters/SampleFilter.js - if you look at that + the other filters in there it will show you how to hook your uniforms up and how to insert the fragment shader. The examples suite will show you how to then apply that to a sprite. Mefteg 1 Link to comment Share on other sites More sharing options...
NxT Posted January 14, 2014 Author Share Posted January 14, 2014 Okay, thanks. Link to comment Share on other sites More sharing options...
Recommended Posts