Search Unity

No Lightmap Padding ?

Discussion in 'Global Illumination' started by Matiasaviles, Jan 12, 2021.

  1. Matiasaviles

    Matiasaviles

    Joined:
    Jan 17, 2013
    Posts:
    3
    Hi Everyone, I'm currently working with a pretty big scene and I've been getting some artifacts while light baking, for some reason the padding of the baking seems to overlap with certain faces giving me an undesired result.

    By default unity does not allow me to go under 2 texels lightmapping.

    upload_2021-1-12_17-58-21.png

    upload_2021-1-12_17-55-39.png

    If anybody has a hint of what the issue might be I'd really appreciate it.
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,723
    You need more padding, not less.

    But also the padding you need to change there is from the mesh's UVs, not from the lighting settings.
     
  3. Matiasaviles

    Matiasaviles

    Joined:
    Jan 17, 2013
    Posts:
    3
    Considering it's the default cube primitive I don't think It's an UV problem
     
  4. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,723