pixelscommander %!s(int64=7) %!d(string=hai) anos
pai
achega
1488872dac
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Layer/babylon.highlightlayer.ts

+ 1 - 1
src/Layer/babylon.highlightlayer.ts

@@ -410,7 +410,7 @@
 
             if (this._options.threshold) {
                 const threshold = this._options.threshold;
-                this._thresholdPostProcess = new BABYLON.PostProcess("thresold", "highlightLayerThreshold", ["screenSize", "threshold"], null, 0.25, null, BABYLON.Texture.BILINEAR_SAMPLINGMODE, this._scene.getEngine());
+                this._thresholdPostProcess = new BABYLON.PostProcess("threshold", "highlightLayerThreshold", ["screenSize", "threshold"], null, 0.25, null, BABYLON.Texture.BILINEAR_SAMPLINGMODE, this._scene.getEngine());
                 this._thresholdPostProcess.onApplyObservable.add(function (effect) {
                     effect.setFloat("threshold", threshold);
                     effect.setFloat2("screenSize", blurTextureWidth, blurTextureHeight);