Jump to content

2.1.3 -> 2.2.2 : How to reproduce the "alpha > 1 bug" effect


Recommended Posts



Prior to 2.2.0 we exploited a charming alpha bug. By setting it higher to 1, it would actually give somekind of alpha/saturation effect. In some cases it was both perfect for our needs and easy to use (any tween could simply play with it).



While it was talked about in a referenced pixi issue (https://github.com/GoodBoyDigital/pixi.js/issues/1245), i simply cant find any suitable solution.


I did try to use a ColorMatrix shader, but the effect is just not as pretty, and causes some issues when the sprite has a mask (somehow it crops the sprite, even if it's well inside the mask).



Does anyone know how i could potentially simulate the same effect? 




PS: Yes, i'm fully aware that anykind of solution would involve WebGL. That's perfectly fine :)

Link to comment
Share on other sites


  • Recently Browsing   0 members

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