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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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