Environment Lighting API for settable Time of Day and Scene preloading

Hi,

I can’t find the API for setting the parameters in the Environment Lighting settings; does anybody know how they’re set?

We need it for doing Time of Day (accessing Ambient Intensity and Reflection Intensity, as well as ambient colors) and for setting the correct lighting conditions if we additively load the scene from a preloader (The preloader’s lighting overrides the actual game scene).

Anyone know how these are set through code?

Thanks,
Chris

Hello

You can use RenderSettings class for this

To open Unity5 api docs → go to the Help > Scripting Reference and then use search

Awesome, thank you!

Hi, I’ve found most of what I need except for Skybox Reflection Intensity.

I tried it out on B17 and I can’t find a way to set it programmatically.

Is there a way to set this?

Thanks.