Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Deficient baked illumination

Discussion in 'Global Illumination' started by RicardoCoelhoTTW, Jul 12, 2021.

  1. RicardoCoelhoTTW

    RicardoCoelhoTTW

    Joined:
    Jun 15, 2021
    Posts:
    13
    I'm trying to bake the illumination of a cabinet, mas something is causing problems and I can't figure out what it is...
    upload_2021-7-12_18-38-14.png

    The cabbinet is a static object and only receives lighting from 1 source, an Area Light.
    These are my settings so far:
    upload_2021-7-12_18-39-39.png

    and the Area light illuminating the cabbinet

    upload_2021-7-12_18-40-13.png

    Any ideia on why my light isn't baking properly?
    Let me know if more prints are needed
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,624
    Remove the glass mesh from being lightmap static (or "Contribute GI" as they call it now).
     
  3. RicardoCoelhoTTW

    RicardoCoelhoTTW

    Joined:
    Jun 15, 2021
    Posts:
    13
    That was an excelent call. Since everything was a single mesh (glass, boxes and frame) I edited the model and removed the glass mesh entirely, replacing it in Unity with a quad.
    But why was this happening? The glass is still there with the exact same material, the only difference being its not in the same mesh as before. What difference did it make?