diff --git a/src/effects/GammaCorrection.tsx b/src/effects/GammaCorrection.tsx new file mode 100644 index 0000000..87d79dc --- /dev/null +++ b/src/effects/GammaCorrection.tsx @@ -0,0 +1,4 @@ +import { GammaCorrectionEffect } from 'postprocessing' +import { wrapEffect } from '../util' + +export const GammaCorrection = wrapEffect(GammaCorrectionEffect) diff --git a/src/index.tsx b/src/index.tsx index f3ddf08..48d12c4 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -23,5 +23,6 @@ export * from './effects/ToneMapping' export * from './effects/Vignette' export * from './effects/ShockWave' export * from './effects/LUT' +export * from './effects/GammaCorrection' export { default as EffectComposer, EffectComposerContext } from './EffectComposer'