Skip to content

Commit

Permalink
unbreak transparency. Fixes #99
Browse files Browse the repository at this point in the history
  • Loading branch information
biasmv committed May 12, 2015
1 parent be1d730 commit ed9abb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ Viewer.prototype = {
}
gl.cullFace(gl.FRONT);
gl.enable(gl.BLEND);
gl.blendFunc(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA);
this._drawWithPass('normal');


Expand Down

0 comments on commit ed9abb9

Please sign in to comment.