Search Unity

Artifacts using Enlighten Lightmapper

Discussion in 'General Graphics' started by danix, Dec 10, 2017.

  1. danix

    danix

    Joined:
    Nov 15, 2013
    Posts:
    29
    ELM.JPG ELM2.JPG PLM.JPG PLM2.JPG

    Hello everybody,

    When I try to bake my shadows, I get ugly artifacts where objects are inside one other (no AO), using Enlighten (image_1 and image_2). There are no problems using Progressive Lightmapper (image_3 and image_4), but I need Mixed Lighting, baked shadows with real-time shadows, which doesn't work with PLM. It looks like Enlighten doesn't blur the shadows below, or lightmap anti-aliasing is not working. I have tried everything in the lightmap settings, also I've played around with the Lightmap Parameters, still nothing. This is a test scene, with default cube primitives. Using Unity 2017.2.0. Do you have any advice, how this can be fixed?

    Thanks!
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,794
    What is the setting of the backface tolerance in your lightmap parameters?
     
  3. danix

    danix

    Joined:
    Nov 15, 2013
    Posts:
    29
    Above images are baked with Backface Tolerance 0, both on Enlighten and PLM, but I've tried with 0.1, 0.2 ... 0.9 , 1 etc. and there's almost no difference, outer edges are jagged (with Enlighten).

    Capture.JPG Capture2.JPG Capture3.JPG