Search Unity

Shadows appearing randomly in the corner of the camera

Discussion in 'Universal Render Pipeline' started by Hoshimiuwu, Jun 22, 2022.

  1. Hoshimiuwu

    Hoshimiuwu

    Joined:
    Jul 11, 2019
    Posts:
    2
    Hello,

    I have ran into a weird glitch that happens to any of my current unity project (version 2021.3.3f1 LTS). These shadows randomly pop in and out of vision at the corner between any two objects and I have ran out of ideas on how to fix it. It looks like this:
    ezgif.com-gif-maker (29).gif

    I have looked at countless tutorials and messed around with bunch of lighting/material/rendering settings to no avail, I feel like this is something to do with shadow bias. if you have a clue why this is happening please let me know.
    Thank you in advance :)
     

    Attached Files:

  2. wwWwwwW1

    wwWwwwW1

    Joined:
    Oct 31, 2021
    Posts:
    769
    Hi, I think it's one of URP SSAO's limitations.

    Are you using Depth Normal for SSAO, maybe it will have better result.

    Or you can try baking the AO with progressive lightmapper.
     
    Hoshimiuwu likes this.
  3. wwWwwwW1

    wwWwwwW1

    Joined:
    Oct 31, 2021
    Posts:
    769
    By the way, you can reduce the SSAO intensity to make this less obvious.
     
    Hoshimiuwu likes this.
  4. Hoshimiuwu

    Hoshimiuwu

    Joined:
    Jul 11, 2019
    Posts:
    2
    omg that worked amazingly, thank you so much for this! I could not find this information anywhere
     
    wwWwwwW1 likes this.