Jump to content

when I apply a filter, the image disappears


dosuna
 Share

Recommended Posts

Hi,

In my project I have a some filters with PIXI.ColorMatrixFilter() and work perfectly, but I have 1 filter that don't work.

The code is the same and in others projects that use the shared JS work perfectly.

The code is:

    this.filterOff = new PIXI.ColorMatrixFilter();
    this.filterOff.brightness(params.brightness);

    this.image.filters = [this.filterOff];

 

Thanks.

P.D. I use the Phaser 2.4.3

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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