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 Untextured seam when baking lightmap

Discussion in 'Global Illumination' started by daddycheese123, Dec 20, 2022.

  1. daddycheese123

    daddycheese123

    Joined:
    Oct 12, 2020
    Posts:
    2
    When baking the lights in my scene, some (but not all) of the torch assets have this horrible white seam as seen in the picture. Any ideas what might be causing this and how to fix it? I provided my lightmapping settings in the second picture. I am using URP.
     
  2. daddycheese123

    daddycheese123

    Joined:
    Oct 12, 2020
    Posts:
    2
  3. joshuacwilde

    joshuacwilde

    Joined:
    Feb 4, 2018
    Posts:
    725
    Make sure the mesh has proper lightmap UVs (second UV channel). You can auto generate this in the mesh import settings.
     
  4. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,631
    After baking, if you select the mesh does the inspector have a note about overlapping UVs?

    upload_2022-12-31_14-50-58.png