Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Realtime lighting with baked ambient

Discussion in 'Global Illumination' started by bodzi0x95, Jun 4, 2019.

  1. bodzi0x95

    bodzi0x95

    Joined:
    May 16, 2018
    Posts:
    12
    Hi,

    I'd like to ask is it possible to have realtime lighting with precomputed global illumination with baked point lights (without indirect light) for ambient lighting.

    I have scene with a city and want to have day/night cycle but I also want to have some point lights baked for specific ambient in few places which will not affect on dynamic objects, only terrain, buildings and props. Is it possible? How can I set up it?
     
  2. fguinier

    fguinier

    Unity Technologies

    Joined:
    Sep 14, 2015
    Posts:
    114
    You could have baked point light with an indirect multiplier of 0, to avoid indirect from them. All bake light contribution get added to both lightmap and lightprobe however but you might just to have probe there, or disable probe contribution on dynamic objects using the Light Probe field from https://docs.unity3d.com/Manual/class-MeshRenderer.html.
     
unityunity