Jump to content

Can PIXI.filters be inplemented in Panda?


Recommended Posts



I have been trying to get PIXI web-GL filters working in Panda but for some reason every attempt failed so far. here is a sample:

var graphics = new game.PIXI.Graphics();graphics.lineStyle(15, 0x00ffff, 1);graphics.drawRect(50,50,100,100);var blurfilter = new game.PIXI.BlurFilter(); blurfilter.blur = 100; graphics.filters = [blurfilter];graphics.addTo(this.stage);


Are filters supported at all in the current version of Panda?

And will they be supported in Panda 2.0?




Link to comment
Share on other sites

Thanx for your incredibly fast response!  :)


I have tried graphics and other filters as well but nothing worked so far. (Masks however are working fine).


It is however good to know that it should work. (I indeed found all needed classes in game.PIXI). I'm gonna dig a bit deeper in the PIXI code to solve the issue.

Link to comment
Share on other sites

No, I had a problem in the config file:


I replaced:

pandaConfig = {    name: 'MyPandaGame',    version: '0.0.0',    webGL: true}; 


pandaConfig = {    name: 'MyPandaGame',    version: '0.0.0',        system: {        webGL: true    }};

That resolves the isssue.

Thanx Enpu!  :)

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.

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.


  • Recently Browsing   0 members

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