mirror of
https://github.com/anvaka/pixchart.git
synced 2026-02-01 16:07:48 +00:00
enabled blending
This commit is contained in:
parent
5ebb7ffb79
commit
b0ab5d6042
@ -225,8 +225,8 @@ function pixChart(imageLink, options) {
|
||||
frameChangeRate = (maxFrameSpan - minFrameSpan)/framesCount;
|
||||
|
||||
particleAttributesBuffer = glUtils.createBuffer(gl, particles.particleAttributes);
|
||||
// gl.enable(gl.BLEND);
|
||||
// gl.blendFunc(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA);
|
||||
gl.enable(gl.BLEND);
|
||||
gl.blendFunc(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA);
|
||||
|
||||
gl.useProgram(screenProgram.program);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user