pixelscommander hace 7 años
padre
commit
1488872dac
Se han modificado 1 ficheros con 1 adiciones y 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) {
             if (this._options.threshold) {
                 const threshold = 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) {
                 this._thresholdPostProcess.onApplyObservable.add(function (effect) {
                     effect.setFloat("threshold", threshold);
                     effect.setFloat("threshold", threshold);
                     effect.setFloat2("screenSize", blurTextureWidth, blurTextureHeight);
                     effect.setFloat2("screenSize", blurTextureWidth, blurTextureHeight);