Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug URP 12 Unity 2021.2.0b5 - screenspace shadows flicker in deferred

Discussion in '2021.2 Beta' started by larsbertram1, Aug 2, 2021.

  1. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,899
    screenspace shadows flicker in deferred (not in forward).
    hard to capture in a gif but if you look closely you will see it.
    also present in 2021.2.0b4.
    bug filed (case 1354681)

    DeferredScrrrenSpaceShadows.gif
     
    Last edited by a moderator: Aug 2, 2021
  2. larsbertram1

    larsbertram1

    Joined:
    Oct 7, 2008
    Posts:
    6,899
    it seemsthat in deferred the screen space shadows get corrupted as they sample an empty cameradepthtexture.
    which is nothing astonishing in this frame as nothing has been rendered so far to the depth buffer?!

    falseDepthTexture.PNG


    enabling decals as well fixes the issue as now we get a depthnormalprepass:

    sssDecals.PNG
     
    laurentlavigne likes this.
  3. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,132