LUT

Applies 3D LUT-based color grading using a lookup texture (a THREE.Texture built from e.g. a .cube file or a data texture you construct yourself).

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

return (
  <LUT
    lut={lutTexture} // the lookup texture
    blendFunction={BlendFunction.SRC} // the blend function of this effect
    tetrahedralInterpolation={false} // enables or disables tetrahedral interpolation
  />
)

Props

NameTypeDefaultDescription
lutTextureThe lookup texture. Required.
blendFunctionBlendFunctionBlendFunction.SRCThe blend function of this effect.
tetrahedralInterpolationBooleanfalseEnables or disables tetrahedral interpolation.