Search Unity

Switch between Bake and Realtime GI in runtime / Disable GI in runtime

Discussion in 'General Graphics' started by alejobrainz, Mar 9, 2015.

  1. alejobrainz

    alejobrainz

    Joined:
    Sep 10, 2005
    Posts:
    288
    Hi. I would like to switch GI mode between baked and realtime lighting or even disable GI altogether in runtime to accommodate to low end and high end mobile devices and but have not found a clear workflow to do so. I have 1 directional light in my scene but do not see a means to change the Baking property in runtime between baked, mixed and realtime. Is there a way to switch this? or is there any global control over GI in Unity 5?
     
  2. Kuba

    Kuba

    Moderator

    Joined:
    Jan 13, 2009
    Posts:
    416
    Unfortunately there is no API (and no workflow) that would allow you to switch from realtime GI to baked GI at runtime. I've added that to our roadmap.
     
    kenshin likes this.
  3. alejobrainz

    alejobrainz

    Joined:
    Sep 10, 2005
    Posts:
    288
    Thanks! Appreciated. I Think it can be cool given today's huge gap between high and low end mobile devices, hopefully through quality settings :)