diff --git a/src/image/filterRenderer2D.js b/src/image/filterRenderer2D.js index 1e421d449c..3af676e7f7 100644 --- a/src/image/filterRenderer2D.js +++ b/src/image/filterRenderer2D.js @@ -168,6 +168,7 @@ class FilterRenderer2D { this._shader.setUniform('texelSize', texelSize); this._shader.setUniform('canvasSize', [this.pInst.width, this.pInst.height]); this._shader.setUniform('radius', Math.max(1, this.filterParameter)); + this._shader.setUniform('filterParameter', this.filterParameter); const identityMatrix = [1, 0, 0, 0, 0, 1, 0, 0,