Skip to content

Commit

Permalink
Fix for transparent PNG's Fixes #44
Browse files Browse the repository at this point in the history
  • Loading branch information
smukkejohan committed May 9, 2015
1 parent 8f1be2e commit 6946bab
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 6946bab

Please sign in to comment.