How to edit HUE for scene.environment texture?

Hi,
Is it possible to control hue and saturation for hdr environment texture for webGL(srgb)?
I would like to create different mood light for my scene using one hdr just changing hue/saturation

you can use a shader for this, hue/sat you’ll find on stackoverflow.

you then use a cubecamera that films a sphere with the original hdri texture and that shader.n something like this https://codesandbox.io/p/sandbox/rotate-environments-ygmu6m

2 Likes

Thanks for answer! I use this shader
It would be nice to have a different approach for this, not to overload the system with such shaders for a large hdr texture and the colors are not so accurate when I change the hue (I think because of the large dinamic range). But at the moment I think this is the only way out, thanks!

here result:
2024-10-0116.57.09-ezgif.com-video-to-gif-converter