enabled blending

This commit is contained in:
Andriy Kashcha 2018-01-24 00:35:59 -08:00
parent 5ebb7ffb79
commit b0ab5d6042

View File

@ -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);