Jump to content

Shaders in Phaser


NxT
 Share

Recommended Posts

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.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...