|
@@ -69940,11 +69940,6 @@ var BABYLON;
|
|
this._reset();
|
|
this._reset();
|
|
this._prevPostProcess = null;
|
|
this._prevPostProcess = null;
|
|
this._prevPrevPostProcess = null;
|
|
this._prevPrevPostProcess = null;
|
|
- if (this.fxaaEnabled) {
|
|
|
|
- this.fxaa = new BABYLON.FxaaPostProcess("fxaa", 1.0, null, BABYLON.Texture.BILINEAR_SAMPLINGMODE, engine, false, this._defaultPipelineTextureType);
|
|
|
|
- this.addEffect(new BABYLON.PostProcessRenderEffect(engine, this.FxaaPostProcessId, function () { return _this.fxaa; }, true));
|
|
|
|
- this._setAutoClearAndTextureSharing(this.fxaa);
|
|
|
|
- }
|
|
|
|
if (this.sharpenEnabled) {
|
|
if (this.sharpenEnabled) {
|
|
this.addEffect(this._sharpenEffect);
|
|
this.addEffect(this._sharpenEffect);
|
|
this._setAutoClearAndTextureSharing(this.sharpen);
|
|
this._setAutoClearAndTextureSharing(this.sharpen);
|
|
@@ -70027,6 +70022,11 @@ var BABYLON;
|
|
this.finalMerge.shareOutputWith(this.pass);
|
|
this.finalMerge.shareOutputWith(this.pass);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ if (this.fxaaEnabled) {
|
|
|
|
+ this.fxaa = new BABYLON.FxaaPostProcess("fxaa", 1.0, null, BABYLON.Texture.BILINEAR_SAMPLINGMODE, engine, false, this._defaultPipelineTextureType);
|
|
|
|
+ this.addEffect(new BABYLON.PostProcessRenderEffect(engine, this.FxaaPostProcessId, function () { return _this.fxaa; }, true));
|
|
|
|
+ this._setAutoClearAndTextureSharing(this.fxaa);
|
|
|
|
+ }
|
|
if (this.chromaticAberrationEnabled) {
|
|
if (this.chromaticAberrationEnabled) {
|
|
this.addEffect(this._chromaticAberrationEffect);
|
|
this.addEffect(this._chromaticAberrationEffect);
|
|
this._setAutoClearAndTextureSharing(this.chromaticAberration);
|
|
this._setAutoClearAndTextureSharing(this.chromaticAberration);
|