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
Props
Name | Type | Default | Description |
---|---|---|---|
offset | Vector2 | The color offset. | |
blendFunction | BlendFunction | BlendFunction.Normal | The blend function of this effect. |