Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Realtime GI, strange artefacts

Discussion in 'Global Illumination' started by Aberdyne, Nov 17, 2015.

  1. Aberdyne

    Aberdyne

    Joined:
    Mar 17, 2015
    Posts:
    64
    Hello everyone. I was wondering if anyone already had those kind of artefacts using realtime GI and what are the potential causes of such.

    GIArtefactW.png GIArtefactUVCharts.png GIArtefact.png

    UVs are auto generated by Enlighten
     
    Last edited: Nov 17, 2015
  2. Aberdyne

    Aberdyne

    Joined:
    Mar 17, 2015
    Posts:
    64
    Small contiguous meshes seems like a bad idea and it creates seams anyway. This part is now in a single mesh and everything is great, clusters are uniformly laid on the surface unlike on the above screenshot. Enlighten's Auto UV could do a much better job with this single mesh of course.
     
    AcidArrow likes this.
  3. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,019
    Enlighten tries to have at least a couple of texels on any UV shell, even if your precompute resolution is way too low.

    That's good and bad. It's good, because no surface should have a sub-texel density (it will just plain look wrong, leak light etc), but it creates very unneven resolution, which can sometimes have weird results (like in your first pic).