color correction curves, how to access them through scripting?

Hi, I’m trying to make a sort of “mood” depending on what area the player is at, by changing the color correction curves(pro only image effect).
However, I’ve been unable to find a way to access the values of these curves, so I’m a bit stuck here.

If I could access their values I could simply set them to whatever is needed when I enter a certain area, However to do this I’d need to be able to access the curves. Is this possible?

Anyways, thanks in advance! :smiley:

I don’t have Unity Pro, so I’ve never used Color correction curves. But I think that you could solve your problem by reading this topic:

Access ColorCorrectionCurves values from javascript?

Let me know it it’ll help you out.

I made a script to set up two different curves visually in the editor and interpolate between them on real time:

At the moment you can only set up two curves, but you can change the script parameters easily through scripting, and it will work.

Maybe you’ll find it of some help :slight_smile: