Search Unity

CPU lightmapper graphical errors

Discussion in 'Global Illumination' started by o1o101, Dec 20, 2019.

  1. o1o101

    o1o101

    Joined:
    Jan 19, 2014
    Posts:
    639
    Hi,

    Using 2018.4 LTS, CPU lightmapper. Everything looks fine during baking, but once the bake is finished we get strange errors like this.

    upload_2019-12-20_14-43-36.png
    upload_2019-12-20_14-44-51.png

    Has anyone seen something similar to this?
    I can't really increase the texels unless I want to wait ridiculous amounts of time for the bake to complete.

    GPU lightmapper doesn't work with trees for whatever reason, I get squares everywhere which I think is caused by the trees transparency.
    For the trees I tried using a non double sided shader, I also tried custom lightmap parameters set to transparency, and backface threshold on 0. Same result.


    Cheers
     
  2. KEngelstoft

    KEngelstoft

    Unity Technologies

    Joined:
    Aug 13, 2013
    Posts:
    1,366
    How does it look in the texel validity scene view mode? I bet there are invalid areas where you see artifacts.

    If you have trees in the areas where you have artifacts, it could be due to hitting lots of single sided, backfacing triangles. Double Sided GI materials or lower backface tolerance can probably help you.