Search Unity

GI Glitches on Lightmap. Dark Spots

Discussion in 'Global Illumination' started by moshes, Sep 11, 2017.

  1. moshes

    moshes

    Joined:
    Jul 20, 2015
    Posts:
    10
    Hey UnityForum,
    i have a small problem with my lightmap.
    my scene is lighten very great, but on some parts of my architecture there are darker spots than there should be. I dont know what causes these dark glitched spots. Maybe you had similar problems and could tell me what i was doing wrong.

    Here is an example:
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,735
    I'm not sure what I'm looking at.

    Is everything okay with the lightmap UVs?

    Everything okay with the normals?
     
  3. moshes

    moshes

    Joined:
    Jul 20, 2015
    Posts:
    10
    I always let my UVs generate from unity itself. And i have no textures/ normal maps
     
  4. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,735
    I don't mean normal maps, I meant the normals of the models themselves. I'm still not sure what I'm looking at, but some models look like they might have flipped normals?
     
  5. moshes

    moshes

    Joined:
    Jul 20, 2015
    Posts:
    10
    the weird thing is that they are all prefabs and as you can see even the same duplicated prefab is sometimes well lit and sometimes not well lit. PS: youa re looking at an archtectural megastructure made of prefab parts.
     
  6. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,735
    What does the texel validity view show?
     
  7. moshes

    moshes

    Joined:
    Jul 20, 2015
    Posts:
    10
    i cant sellect it. its light grey :/
     
  8. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,735
    Are you using Enlighten? Can you post a better picture? I really don't understand what I'm looking at.
     
  9. moshes

    moshes

    Joined:
    Jul 20, 2015
    Posts:
    10
    yes sure. give me some minutes. Thanks for helping btw :) yes i am using enlighten
     
  10. moshes

    moshes

    Joined:
    Jul 20, 2015
    Posts:
    10
  11. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,735
    Try the following: Raise lightmap resolution to 2 (leave indirect resolution to 1).

    Select the file of those column things (which look consitently wrong I think) and under normals and tangents, switch normals to Calculate and see if that improves things.
     
  12. moshes

    moshes

    Joined:
    Jul 20, 2015
    Posts:
    10
    The baking is going to need about 3 hours brb then ! thanks !
     
  13. moshes

    moshes

    Joined:
    Jul 20, 2015
    Posts:
    10
    baking done, but not a rea change. still black spots, but some of them are ok now. but only a few