Search code examples
three.jspost-processing

Possible To Add Colour Hue to Scene in ThreeJS?


I have a scene set up in threejs with some very basic shapes, and I want to "shift" all colours in the scene to have purple hue to them (almost as if there was a purple opaque screen overlaying on top). I understand that a way to adjust colour/hue settings in a scene all at once is to use post-processing effects, but running through those listed effects I can't work out if any can help me here

Is this effect possible to achieve? Any guidance or link to appropriate resources would be appreciated here!


Solution

  • Try it with an instance of THREE.ShaderPass and a ColorCorrectionShader.

    You can find such a setup in the official example: webgl_materials_normalmap