Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

animated skybox and ambient source

Discussion in 'Shaders' started by laurentlavigne, Jun 15, 2016.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    5,982
    I am using the excellentissim https://www.assetstore.unity3d.com/en/#!/content/63726 which is animated
    When I switch ambient to skybox the scene lighting looks odd, sometimes red, sometimes doesn't correspond to the skybox image - why?
    in all cases the ambient lighting of the scene doesn't change as the skybox animates - why?
     
  2. yc960

    yc960

    Joined:
    Apr 30, 2015
    Posts:
    228
    the hacky way, use a single reflection probe for reflection and use updatedynamicGI function in unity API.
    the right way. check out Unity's lighting demo and do what they did to update lighting for procedural skybox.
     
  3. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    5,982
    DynamicGI.UpdateEnvironment() is killing the perfs.

    Where do I find that lighting demo?
     
    Last edited: Jun 15, 2016
  4. yc960

    yc960

    Joined:
    Apr 30, 2015
    Posts:
    228
    asset store, by unity tech, it is free
     
  5. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    5,982
    It's called The Courtyard, right