Sign in to follow this  
Qqwy

Pixi.js and Filters?

Recommended Posts

Hello there, everyone. I am a hobbyist game developer and earlier today I stumbled upon Pixi.js.

It looks astonishing and the performance seems amazing. And as I am wanting to create a (simple) bullet-hell shooter, this is very important.

 

Anyway, to my question:

 

In the 'storm brewing' update, it was said that one of the new features was Filter support for Pixi.js . I would love to use some kind of 'glow' effect for most of my enemies, bullets and power-ups. However, I am having trouble finding anything about filters in the Pixi documentation. I also tried browsing the source to no avail. So:

 

-Is there filter support right now? IF so, how do we use it?

-How hard is it to accomplish aforementioned 'glow' effect?

I have seen (This amazing example ) of one possible way to accomplish something like this in WebGL. When creating Filters, do we have to write this in the shader language?(To which I am completely new, unfortunately...)

Or is there another, much easier way to accomplish this effect?

 

 

I am confused and slightly intimidated by the obscene obscureness of the WebGL Shaders. I hope someone can help me out.

 

Thank you,

 

~Qqwy

Share this post


Link to post
Share on other sites

Filters are not completely finished yet, though they are on the roadmap. However, I can tell you that when they are completed you will not have to write shaders for it. The biggest limiting factor right now is to get the canvas and webgl working the same way, and that means a lot of work on canvas for things that may be simple for WebGL (and vise versa).

 

Filters and post-processing effects should be coming soon, keep an eye out for them.

Share this post


Link to post
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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.