phaserjs/phaser

Alpha works strangely in 2.2 WebGL (alpha 0 to 1 looks like 90% to 100% opacity)

Closed this issue · 4 comments

Alpha opacity stays way too high in Phaser 2.2 with WebGL renderer (works fine with CANVAS)
When tweening, opacity goes from 0 - not rendered to 0.00001 - ~90% visible.

Example: http://examples.phaser.io/_site/view_full.html?d=tweens&f=fading+in+a+sprite.js&t=fading%20in%20a%20sprite

I still don't know if this should be fixed in Phaser or Pixi as I can't find the source of the problem.

Rich has said that this is fixed in PIXI and will be in Phaser soon

Here's the PIXI bug pixijs/pixijs#1245

So it was a Pixi bug after all. Thanks for the help, everything works perfectly after merging this bugfix

This is fixed in the Phaser dev branch already too. I'll do a 2.2.1 release today to get it out there.