Skip to content

Commit 1c9ec60

Browse files
committed
Add opinionated alpha default
1 parent b81924d commit 1c9ec60

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scatter.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ var proto = GLScatterFancy.prototype
202202
if (pick) return offset + pointCount
203203
else {
204204
if (!blend) gl.disable(gl.BLEND)
205+
else {
206+
gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA)
207+
}
205208
}
206209
}
207210
})()

0 commit comments

Comments
 (0)