Skip to content

Commit

Permalink
Merge pull request #45 from mrbichel/patch-1
Browse files Browse the repository at this point in the history
Fix for transparent PNG's Fixes #44
  • Loading branch information
auduno authored Nov 27, 2016
2 parents 3b4d938 + 6946bab commit d5fc35f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/face_deformer.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ var faceDeformer = function() {

this.init = function(canvas) {
// ready a webgl element
gl = getWebGLContext(canvas);
gl = getWebGLContext(canvas);
gl.pixelStorei(gl.UNPACK_PREMULTIPLY_ALPHA_WEBGL, true);

}

this.load = function(element, points, pModel, vertices) {
Expand Down

0 comments on commit d5fc35f

Please sign in to comment.