@react-three/postprocessing 2.14.11 → 2.14.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -310,11 +310,7 @@ const Bloom = wrapEffect(BloomEffect, {
310
310
  blendFunction: BlendFunction.ADD
311
311
  });
312
312
  const BrightnessContrast = wrapEffect(BrightnessContrastEffect);
313
- const ChromaticAberration = forwardRef(function ChromaticAberration2(props, ref) {
314
- const offset = useVector2(props, "offset");
315
- const effect = useMemo(() => new ChromaticAberrationEffect({ ...props, offset }), [offset, props]);
316
- return /* @__PURE__ */ jsx("primitive", { ref, object: effect, dispose: null });
317
- });
313
+ const ChromaticAberration = wrapEffect(ChromaticAberrationEffect);
318
314
  const ColorAverage = forwardRef(function ColorAverage2({ blendFunction = BlendFunction.NORMAL }, ref) {
319
315
  const effect = useMemo(() => new ColorAverageEffect(blendFunction), [blendFunction]);
320
316
  return /* @__PURE__ */ jsx("primitive", { ref, object: effect, dispose: null });