Search Unity

Differences between Mixed and Realtime lighting in BakeIndirect Mode

Discussion in 'Global Illumination' started by beatdesign, May 30, 2019.

  1. beatdesign

    beatdesign

    Joined:
    Apr 3, 2015
    Posts:
    137
    Let's say I have a room with a directional Baked light D1, GI settings is MixedLighting/BakeIndirect mode.
    Now I want dynamic objects moving inside my room, lit by another directional light D2, and I whant that these dynamic objects cast shadows on other objects (both dynamic and static).

    To me, the result are the same if I choose to set D2 as Realtime light or Mixed Light.
    Is this correct or there are some performance differences?
     
  2. thefranke

    thefranke

    Unity Technologies

    Joined:
    Jun 20, 2015
    Posts:
    153
    Hey beatdesign,

    performance wise there should be minimal difference between the two types. You can learn more about the combinations of Mixed Lighting and the different baking modes here in the Advance use section.

    The difference between choosing a realtime light and a mixed light of course is that the indirect bounce will not be baked for a realtime light, whereas for the mixed light it will.

    Cheers