Search Unity

Shadows flickering

Discussion in 'General Graphics' started by Jihaysse, May 26, 2021.

  1. Jihaysse

    Jihaysse

    Joined:
    Mar 29, 2020
    Posts:
    53
    Hello everyone,

    I'm having this issue since using Unity 2020.3.9f1 (LTS)



    I'm using:
    - 512x512 terrain made with Gaia 2021 Pro (although it doesn't seem to be the issue here).
    - Directional realtime lightning
    - iMac with i5 3.5Ghz Quad Core, 32Gb DDR4 RAM, Radeon Pro 575 4Go

    I already tried:
    - Changing clipping planes on camera
    - Baking light
    - Changing the bias of the shadows

    What resolves the issue is setting the shadows to "Stable Fit" in Projects settings => Quality => Shadows Projection, but shadows aren't that great then.

    Any idea on what could be the culprit?

    Thank you for your time!
     
  2. warthos3399

    warthos3399

    Joined:
    May 11, 2019
    Posts:
    1,759
    Changing clipping, baking and bias, wont do anything in this situation. Now, using Stable Fit is a good idea, and if i remember correctly, to make the shadows look better (using stable fit), you adjust the shadow resolution (low, med, high), in your directional light settings.
     
  3. Jihaysse

    Jihaysse

    Joined:
    Mar 29, 2020
    Posts:
    53
    Thank you for your answer. Do you have any idea on where the issue comes from? It looks like people having this issue is because their terrain is huge and thus floating point errors arise, but it's not my case here.