Fixed the Tunnel filter. Had to patch Pixi to do it :( But no other choice for now until they merge my pull request.

This commit is contained in:
photonstorm
2014-02-27 23:28:28 +00:00
parent 3568dc4ff1
commit 43cd5e4b3f
3 changed files with 4 additions and 3 deletions
+2
View File
@@ -42,6 +42,8 @@ Phaser.Filter.Tunnel.prototype.init = function (width, height, texture) {
this.setResolution(width, height);
this.uniforms.iChannel0.value = texture;
texture.baseTexture._powerOf2 = true;
}
Object.defineProperty(Phaser.Filter.Tunnel.prototype, 'alpha', {