"use strict";exports.__esModule=!0,exports.default=void 0;var _ShaderPass=require("three/examples/jsm/postprocessing/ShaderPass"),_GammaCorrectionShader=require("three/examples/jsm/shaders/GammaCorrectionShader"),_extension=require("../../core/extension"),_default=exports.default=(0,_extension.definePlugin)("gamma-pass",{setup(a,b){const c=b.renderer,d=new _ShaderPass.ShaderPass(_GammaCorrectionShader.GammaCorrectionShader);return c.composer&&c.composer.addPass(d),{gammaCorrection:d}},destroyed(){this.gammaCorrection.dispose()}});