Search Unity

Shadow Map Artifacts in HDRP

Discussion in 'High Definition Render Pipeline' started by RobyGod, Jun 5, 2020.

  1. RobyGod

    RobyGod

    Joined:
    Mar 5, 2020
    Posts:
    16
    Hi guys! Anyone knows why Unity is getting these artifacts while Light's Shadow Map is enabled? They disappear when I turn off Shadow Map. This is the Scene View but they appear in the Game View as well! ShadowTest01.jpg ShadowTest02.jpg
     
  2. RobyGod

    RobyGod

    Joined:
    Mar 5, 2020
    Posts:
    16
    Anyone?
     
  3. SebLagarde

    SebLagarde

    Unity Technologies

    Joined:
    Dec 30, 2015
    Posts:
    934
    Hi,

    This lack some information to provide better help.
    Which binary and HDRP version are you using?
    What is the setup? (in particular what forward/deferred mode are you using and shadow quality filtering?)
    Thanks
     
  4. chap-unity

    chap-unity

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    765
    It looks like something from the contacts shadows.
    If you add an override "contact shadows" in your global volume and disable them, does it still happens ?

    upload_2020-6-11_14-15-7.png
     
  5. RobyGod

    RobyGod

    Joined:
    Mar 5, 2020
    Posts:
    16
    Hi thanks for your replies. Yes it is indeed due to the contact shadow override. If I add this override to the volume and then disable it, those artifacts get away
     
  6. valarnur

    valarnur

    Joined:
    Apr 7, 2019
    Posts:
    440
    This was recently added in Blender Cycles with shadow terminator parameter.
    Maybe can be useful.
     
    RobyGod likes this.