import{ShaderPass}from"three/examples/jsm/postprocessing/ShaderPass";import{GammaCorrectionShader}from"three/examples/jsm/shaders/GammaCorrectionShader";import{definePlugin}from"../../core/extension";export default definePlugin("gamma-pass",{setup(a,b){const c=b.renderer,d=new ShaderPass(GammaCorrectionShader);return c.composer&&c.composer.addPass(d),{gammaCorrection:d}},destroyed(){this.gammaCorrection.dispose()}});