Jump to content

GLSL shader for postprocessing possible?


vilcans
 Share

Recommended Posts

No, those are not postprocessing filters. They are only applied to one sprite, not the whole canvas.

 

I want for example to render a tilemap and some sprites, then add a filter on top of everything.

 

Just have a deeper look. Plasma is a GLSL Shader, young padawan.

 

Edit:

Maybe you have to render the whole scene into a separate BitmapData object and apply the post effect there.

Link to comment
Share on other sites

Maybe you have to render the whole scene into a separate BitmapData object and apply the post effect there.

 

Yeah, I should be able to render everything onto a texture instead of the screen somehow, then paint that texture to the screen with a post-processing shader. I wonder if Phaser can do that.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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