Skip to content

Commit

Permalink
Add opinionated alpha default
Browse files Browse the repository at this point in the history
  • Loading branch information
dy committed Mar 6, 2017
1 parent b81924d commit 1c9ec60
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ var proto = GLScatterFancy.prototype
if (pick) return offset + pointCount
else {
if (!blend) gl.disable(gl.BLEND)
else {
gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA)
}
}
}
})()
Expand Down

0 comments on commit 1c9ec60

Please sign in to comment.