Water

A screen-space water/heat-haze style distortion, animated over time.

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

return (
  <WaterEffect
    blendFunction={BlendFunction.NORMAL} // the blend function of this effect
    factor={0} // the distortion strength
  />
)

Props

NameTypeDefaultDescription
blendFunctionBlendFunctionBlendFunction.NORMALThe blend function of this effect.
factorNumber0The distortion strength.