Merge pull request #286 from mdoch/dev
Fixes #284, allow colorMask to draw transparency
This commit is contained in:
commit
f70fcac02f
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ PIXI.WebGLRenderGroup.prototype.render = function(projection)
|
|||
|
||||
PIXI.WebGLGraphics.renderGraphics(renderable.mask, projection);
|
||||
|
||||
gl.colorMask(true, true, true, false);
|
||||
gl.colorMask(true, true, true, true);
|
||||
gl.stencilFunc(gl.NOTEQUAL,0,0xff);
|
||||
gl.stencilOp(gl.KEEP,gl.KEEP,gl.KEEP);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue