reset() {
    Logger.module('ENGINE').log('FX.reset');
    this._redirectingToSurfacePass = this._redirectingToScreenPass = false;

    this.resetTime();

    this.lights.length = 0;
    this.shadowCastingLights.length = 0;
    this.occluders.length = 0;
    this.shadowCasters.length = 0;
    this.decals.length = 0;
    this.distortions.length = 0;

    this.batchLights.reset();
    this.batchShadowCastingLights.reset();

    this.passes.cache.beginWithClear();
    this.passes.cache.end();
    this.passes.screen.beginWithClear();
    this.passes.screen.end();
    this.passes.blurComposite.beginWithClear();
    this.passes.blurComposite.end();
    this.passes.surfaceA.beginWithClear();
    this.passes.surfaceA.end();
    this.passes.surfaceB.beginWithClear();
    this.passes.surfaceB.end();
    this.passes.depth.beginWithClear(255.0, 255.0, 255.0, 255.0);
    this.passes.depth.end();
    this.passes.highpass.beginWithClear();
    this.passes.highpass.end();
    this.passes.blur.beginWithClear();
    this.passes.blur.end();
    this.passes.bloom.beginWithClear();
    this.passes.bloom.end();
    this.passes.bloomCompositeA.beginWithClear();
    this.passes.bloomCompositeA.end();
    this.passes.bloomCompositeB.beginWithClear();
    this.passes.bloomCompositeB.end();
    this.passes.radialBlur.beginWithClear();
    this.passes.radialBlur.end();
    this.passes.toneCurve.beginWithClear();
    this.passes.toneCurve.end();
    this.passes.gradientColorMap.beginWithClear();
    this.passes.gradientColorMap.end();

    this._refractMap = null;
    this._currentSurfacePass = null;
    this._currentBloomCompositePass = null;
    this._previousBloomCompositePass = null;
  }
Resets all FX properties and framebuffers. Use this when switching between scenes.