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

Question Lightmap is overriding Environment Lighting ?

Discussion in 'Global Illumination' started by doodlinbee, Aug 31, 2020.

  1. doodlinbee

    doodlinbee

    Joined:
    Feb 15, 2020
    Posts:
    22
    So I have two cubes in the scene, the first one is non-static and the other one is static.

    I go to Lighting and set Environment lighting to 'Color' and play with the ambient color : everything works fine.

    The problem is when I bake the scene by clicking "Generate Lighting" -> The non static cube works fine, as it can receive light from realtime light sources AND the Environment lighting's ambient color... but the static cube though doesn't respond at all to the environment lighting anymore. It gets realtime light + baked light but no environment light.

    Is there a way to have static object that can receive baked light and environment lighting at the same time ?
     
    ooba_1-10 likes this.
  2. ADufay

    ADufay

    Unity Technologies

    Joined:
    Jan 2, 2020
    Posts:
    30
    Hello,

    do you mean that the static object doesn't respond to changes to the environment lighting after baking ? In that case it is intended since baked lighting store the value of environment lighting in the lightmap, you would have to bake again to see the changes of environment lighting on your static object.

    If not that sounds like a bug that you can report https://unity3d.com/unity/qa/bug-reporting