Hi all. So I’m trying to change the color temp of my main directional light in the scene to provide a nice visual effect for a summer / winter look. I have got a script that calculates the appropriate color temp, and includes-
GraphicsSettings.lightsUseLinearIntensity = true;
GraphicsSettings.lightsUseColorTemperature = true;
When I hit play, my debug code says I’m changing color temp. However, I don’t see it until I check an editor box on my light that says ‘color temperature mode.’ This checkbox is not there until I hit play, meaning I can’t save the setting with the scene, and I can’t figure out how to change it in code. From the look of the inspector window, there should be a bool somewhere to enable color temp mode on this light in code, but I can’t find it! Anyone know where to get at this parameter?