From 64adf2298f7fa5ab2f28bc78917bf786c6ede9a0 Mon Sep 17 00:00:00 2001 From: Perminder Date: Thu, 12 Dec 2024 03:36:44 +0530 Subject: [PATCH] adding filterParamter --- src/image/filterRenderer2D.js | 1 + 1 file changed, 1 insertion(+) 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,