mirror of
https://github.com/wassname/phaser.git
synced 2026-09-10 12:29:30 +08:00
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:
@@ -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', {
|
||||
|
||||
Reference in New Issue
Block a user