Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Environment Lighting API for settable Time of Day and Scene preloading

Discussion in 'Unity 5 Pre-order Beta' started by llde_chris, Dec 18, 2014.

  1. llde_chris

    llde_chris

    Joined:
    Aug 13, 2009
    Posts:
    205
    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
     
  2. Alex-Some

    Alex-Some

    Joined:
    Oct 30, 2013
    Posts:
    15
  3. llde_chris

    llde_chris

    Joined:
    Aug 13, 2009
    Posts:
    205
    Awesome, thank you!
     
  4. llde_chris

    llde_chris

    Joined:
    Aug 13, 2009
    Posts:
    205
    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.