Search Unity

objects not baking light properly

Discussion in 'Global Illumination' started by Deleted User, Dec 28, 2021.

  1. Deleted User

    Deleted User

    Guest

    Unity 2020.3
    Im baking a lightmap with a mixed Directional light,
    & one or two walls in my scene are not baking properly and nothing i do changes it
    the walls are right next to walls that do bake the light fine.
    the dark wall on the right is the problem, the light ceiling is the desirable outcome
    screenshot:
    upload_2021-12-28_18-36-53.png
     
  2. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    Are all the objects you want to bake are set as GI contributors? Make sure to inspect the Mesh Renderer component to confirm this for each object that you would like to lightmap.

    For debugging purposes, I would suggest switching to the Baked Lightmap scene debug view (accessible via the dropdown menu, which currently says Shaded in your screenshot). This way you'd know for certain if your objects are in fact contributing to the baked GI.
     
  3. iamshanGD

    iamshanGD

    Joined:
    Dec 28, 2022
    Posts:
    1
    facing the same issue. my objects are set as GI contributors. But idk why its not getting baked
     
  4. unity_1F1DF7163E704CEB13E0

    unity_1F1DF7163E704CEB13E0

    Joined:
    Apr 8, 2023
    Posts:
    1
  5. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080