ChromaticAberration

A chromatic aberration effect.

import { ChromaticAberration } from '@react-three/postprocessing'
import { BlendFunction } from 'postprocessing'

return (
  <ChromaticAberration
    blendFunction={BlendFunction.NORMAL} // blend mode
    offset={[0.02, 0.002]} // color offset
  />
)

Example

ChromaticAberration
ChromaticAberration

Props

NameTypeDefaultDescription
offsetVector2The color offset.
blendFunctionBlendFunctionBlendFunction.NormalThe blend function of this effect.