Search Unity

Shadow issue + artifacts

Discussion in 'Global Illumination' started by Terminus001, Jan 13, 2021.

  1. Terminus001

    Terminus001

    Joined:
    Nov 1, 2015
    Posts:
    121
    Hi everyone,

    I am using baked lighting for my scene, but I get some shadow issues:

    upload_2021-1-13_22-10-32.png

    Those enclosed red areas should be much darker as I am sure no light can reach that point. It would make sense if they were slightly lighter because of indirect lighting, but honestly this is way too bright.

    These are my lightmapping settings. I am using version 2019.4.2f1

    upload_2021-1-13_22-29-32.png

    Thanks in advance
     

    Attached Files:

  2. ADufay

    ADufay

    Unity Technologies

    Joined:
    Jan 2, 2020
    Posts:
    30
    Hello,
    did you try to set "Bounces" to 0 to be sure it's not the indirect lighting which brings you too much light as you said in these red areas ?
     
  3. Terminus001

    Terminus001

    Joined:
    Nov 1, 2015
    Posts:
    121
    But wouldn't bounces = 0 result in no indirect lighting whatsoever?
    Because I do want to keep indirect lighting in the scene. I will test this though, thanks!
     
  4. ADufay

    ADufay

    Unity Technologies

    Joined:
    Jan 2, 2020
    Posts:
    30
    Yes indeed, that will kill indirect lighting. I suggested that as a test, to see if your problem is coming from too much indirect lighting or too much direct lighting.
     
    Terminus001 likes this.
  5. Terminus001

    Terminus001

    Joined:
    Nov 1, 2015
    Posts:
    121
    Hi,

    By removing indirect lighting the issue is gone as expected.. do you have any suggestion on what to change it if I want to keep my indirect lighting however?
    (Below, the scene with direct lighting only)
    I increased the bounces to 3 and the samples to 700 (from the original 500), but no clear improvement was seen. Not sure what else I can try.. what do you say.

    upload_2021-2-3_20-55-57.png
     
  6. ADufay

    ADufay

    Unity Technologies

    Joined:
    Jan 2, 2020
    Posts:
    30
    Hello, have you tried using a "Indirect intensity" smaller than 1. Your scene won't be physically realistic anymore but that could be a nice option to have some artistic control on the amount of indirect lighting.