Search Unity

Enlighten realtime GI indirect lighting buffer size. Bug or feature?

Discussion in 'Global Illumination' started by AntonioModer, Jun 8, 2018.

  1. AntonioModer

    AntonioModer

    Joined:
    Jul 29, 2014
    Posts:
    65
    Enlighten realtime GI have limited buffer size, how much?
    I build simple scene from 100 cubes, and have issue: not all cubes is illuminated, only first 45 cubes.
    I generated lighting with hightest lightmap parametres for precomputed realtime GI and turn on Final Gather, but result is same:
    in Unity2018.1.3f1:

    Unity_2018-06-07_05-56-55.png Unity_2018-06-07_08-57-08.png Unity_2018-06-07_05-09-23.png

    in other versions of Unity:

    Unity_2018-06-08_01-40-57.png Unity_2018-06-08_01-48-52.png

    Unity 2017.4.5f1 has same result.
    Project file Unity2018.1.3f1: https://drive.google.com/open?id=1Gi5A07VQoGCrn3i4cMDtDftFi5G880gc

    Size limited in texture size, object count, clusters size, ... ?
    If it not bug, then is very limited size.
    If it bug, then bug is very old, since Unity 5.6
     
    Last edited: Jun 8, 2018
  2. AntonioModer

    AntonioModer

    Joined:
    Jul 29, 2014
    Posts:
    65
    I found not stable solution.
    I change "System Tag" in Lightmap Parameters in cubes.
    Need to try change for each cube Lightmap Parameter "System Tag" by hands, until you find the correct result, I not find a specific algorithm.
    Tested in Unity 2018.1.3f1 , 2017.4.5f1.
    Its look like not a bug, this is feature.

    Unity_2018-06-08_19-27-39.png Unity_2018-06-08_19-00-15 system tag.png Unity_2018-06-08_19-23-03 system tag.png Unity_2018-06-08_19-30-30.png Unity_2018-06-08_19-55-06.png
     
    Last edited: Jun 9, 2018
  3. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,791
    It's feature that not always works like you want :)

    If you're going for baked lighting and don't want the precompute stuff, you could switch to the progressive lightmapper.
     
    AntonioModer likes this.