diff --git a/src/pixi/display/Sprite.js b/src/pixi/display/Sprite.js index b57eebe..de17ba5 100644 --- a/src/pixi/display/Sprite.js +++ b/src/pixi/display/Sprite.js @@ -64,7 +64,7 @@ * @type Number * @default 0xFFFFFF */ - this.tint = 0xFFFFFF;// * Math.random(); + this.tint = 0xFFFFFF; /** * The blend mode to be applied to the sprite @@ -75,7 +75,16 @@ */ this.blendMode = PIXI.blendModes.NORMAL; -// this.shader = PIXI. + + /** + * The shader that will be used to render the texture to the stage. + * + * @property shader + * @type PIXI.AbstractFilter + * @default null + */ + this.shader = null; + if(texture.baseTexture.hasLoaded) { this.onTextureUpdate(); @@ -88,7 +97,6 @@ this.renderable = true; - this.customShader = null; }; // constructor