Allow custom post processing & improve blending

This commit is contained in:
Olivier Guyot
2018-11-15 16:33:19 +01:00
parent 298af9ca0f
commit 51becf1c2e
2 changed files with 9 additions and 5 deletions

View File

@@ -63,7 +63,9 @@ class WebGLPointsLayerRenderer extends LayerRenderer {
const options = opt_options || {};
this.context_ = new WebGLContext();
this.context_ = new WebGLContext({
postProcessingShader: options.postProcessingShader
});
this.sourceRevision_ = -1;