ColorDepth

Reduces the color depth of the scene, uniformly across all color channels - a posterize-like effect.

import { ColorDepth } from '@react-three/postprocessing'

return (
  <ColorDepth
    bits={16} // the virtual color bit depth
  />
)

Props

NameTypeDefaultDescription
blendFunctionBlendFunctionThe blend function of this effect.
bitsNumber16The virtual amount of color bits. Each color channel effectively uses a fourth of this total; alpha is unaffected.