Search Unity

Unity 5 beta 13: RenderSettings.ambientLight changes Equator Color

Discussion in 'Global Illumination' started by mikelortega, Nov 21, 2014.

  1. mikelortega

    mikelortega

    Joined:
    Feb 5, 2014
    Posts:
    47
    Hi,

    In Unity 5.0.0b13 changing the RenderSettings.ambientLight color with C# actually changes the Render Settings -> Environment Lighting -> Equator Color and keeps Ambient Color unchanged.

    I found a workaround changing Ambient Intensity with RenderSettings.ambientSkyboxAmount.

    Bug reported.

    Cheers.
     
    chingwa likes this.
  2. Mr-Podunkian

    Mr-Podunkian

    Joined:
    Jan 21, 2013
    Posts:
    9
    For anyone dealing with this in the future (currently in b18), RenderSettings.ambientLight now changes the equator color for some reason as mentioned in this post.

    Instead of using RenderSettings.ambientLight, use RenderSettings.ambientSkyColor. Though I still think this should be fixed as it sort of causes compatibility issues with projects started in older versions of Unity.
     
    chingwa likes this.
  3. chingwa

    chingwa

    Joined:
    Dec 4, 2009
    Posts:
    3,790
    Thank you... this was driving me crazy.
     
  4. Stevepunk

    Stevepunk

    Joined:
    Oct 20, 2013
    Posts:
    205
    This is the reason I went back to 4.6