Search Unity

How to remove baked shadow artifacts?

Discussion in 'Global Illumination' started by ChrisRSI, Dec 6, 2016.

  1. ChrisRSI

    ChrisRSI

    Joined:
    Dec 6, 2016
    Posts:
    4
    Hi All,

    I'm pretty new to Unity, so I'm still trying to wrap my head around how it works.

    I've created a scene, and on a very simple model (The letters Y and E) I am experiencing some shadow artifacts along the edges.

    My scene is using all baked lighting, and I've tried using the "create lightmaps" button in Unity, as well as create my own UVWUnwrap light map in max before export. The objects are set to static.

    Does anyone have any suggestions?

    Thanks.

    http://answers.unity3d.com/storage/attachments/83535-help.jpg

     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,755
    Use higher baked resolution and/or bigger padding/margin values for your UVs.
     
    ChrisRSI likes this.
  3. ChrisRSI

    ChrisRSI

    Joined:
    Dec 6, 2016
    Posts:
    4
    Thank you for taking the time to answer, I'll give it a try.
     
  4. Owers

    Owers

    Joined:
    Jul 7, 2012
    Posts:
    39
    Another option is to set their light map scale to 0. The letters will still cast baked shadows, but they won't receive any baked lighting, so you won't get any seams or shadow artifacts. You will need to make sure they're a separate object, and use light probes to illuminate them properly. I use this technique for objects that are too small or complex to be light mapped, but still need to be static and look baked with everything else.
     
    syscrusher and ChrisRSI like this.
  5. ChrisRSI

    ChrisRSI

    Joined:
    Dec 6, 2016
    Posts:
    4
    Thanks for the tip!