Search Unity

When to use baked GI, when to use RTGI, and when to use mixed lighting?

Discussion in 'Global Illumination' started by U7Games, Apr 11, 2018.

  1. U7Games

    U7Games

    Joined:
    May 21, 2011
    Posts:
    943
    Hi

    When and/or where to use baked GI, when to use RTGI, and when to use mixed lighting?

    Any guide, tip to share?

    Thanks.
     
  2. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    Baked GI for fully static scene and lighting(most Unreal Engine games)
    Realtime GI for dynamic time of the day (GTA,Mirror's edge)
     
  3. U7Games

    U7Games

    Joined:
    May 21, 2011
    Posts:
    943
    ok, but what if there is a night scene where you use a spotlight, can you bake static and user a spotlight over it?..
     
  4. Stardog

    Stardog

    Joined:
    Jun 28, 2010
    Posts:
    1,913
    Baked
    • You want high-quality lighting that runs on slow devices.
    • You don't care about lights casting realtime shadows.
    • You don't care about characters/objects casting realtime shadows.
    Realtime GI
    • You want realtime lighting, but also realtime indirect lighting, so it looks almost as good as baked.
    Mixed
    • You want the same as Baked, but also realtime shadows for dynamic objects.
    • You want realtime lighting up close, but baked far away.
    You should look at current games for the platform you are building for and see what they use.
     
    AnomalusUndrdog and U7Games like this.
  5. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,874
    You can combine light sources (baked,mixed realtime), but for whole scene lighting, you can choose Baked or Realtime GI in logic

    The Logic :

    Why do you want realtime GI for static light sources ?

    Why you don't want to use Baked GI for static models?
     
    U7Games likes this.