Search Unity

Progressive CPU Lighmapper 2019.2 - having artifacts on directional lightmap

Discussion in 'Global Illumination' started by AdamStreck, Oct 17, 2019.

  1. AdamStreck

    AdamStreck

    Joined:
    Jun 3, 2019
    Posts:
    3
    I started noticing artifacts on the direcitonal map that negatively affect my visuals.

    In particular it is visible when directionality "overflows" on adjactent faces, e.g. here:

    upload_2019-10-17_11-40-10.png upload_2019-10-17_11-40-45.png upload_2019-10-17_11-41-35.png

    (left: shaded, mid: lightbake, right: directionality).

    This is a 90 degree simple corner, but the directionality on the right side is somehow seeping in from the left side. You can see that the lightbake itself is ok, it's just the directionality that messes up the result.

    It's quite independent of the object too - even symmetric objects have the issue happen in random places e.g. the two pillars below are the same prefab moved by 4 metres on X exactly, but the overflow is on different parts:

    upload_2019-10-17_11-46-52.png

    Apart from not using directional light, any way how to resolve this?
     
  2. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    What are your lighting settings? Also, do you have any area lights in your scene?
     
  3. AdamStreck

    AdamStreck

    Joined:
    Jun 3, 2019
    Posts:
    3
    Here's the light configuration. Indirect denoiser has been disabled since it causes artifacts of its own.
    upload_2019-10-22_16-18-10.png

    The baked light is provided by a set of area lights with HRD baked emission:
    upload_2019-10-22_16-20-9.png
    upload_2019-10-22_16-20-36.png
     
  4. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    Could you disable area lights and see if the issue reproduces?
     
  5. AdamStreck

    AdamStreck

    Joined:
    Jun 3, 2019
    Posts:
    3
    I can confirm that replacing area lights with point lights resolved the issue, so it is most likely the area lights that are problematic.

    Any chance the issue could be resolved in a foreseeable future?
     
  6. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    This issue should be solved in Unity 2019.3 release. If you have an option to update to 2019.3 alpha build, I would encourage you to do so and see if the issue reproduces.