Use the gradient texture in the heatmap layer

This commit is contained in:
Olivier Guyot
2018-11-16 00:24:51 +01:00
parent 4a275c543a
commit fb8bf785dd
2 changed files with 12 additions and 6 deletions

View File

@@ -156,7 +156,8 @@ class WebGLHelper extends Disposable {
webGlContext: gl,
scaleRatio: options.scaleRatio,
vertexShader: options.vertexShader,
fragmentShader: options.fragmentShader
fragmentShader: options.fragmentShader,
uniforms: options.uniforms
});
}) : [new WebGLPostProcessingPass({ webGlContext: gl })];
}