Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug ssao renders on top of Fp renderobjects in 2021.2

Discussion in 'Universal Render Pipeline' started by Mister-D, Oct 26, 2021.

  1. Mister-D

    Mister-D

    Joined:
    Dec 6, 2011
    Posts:
    1,694
    screenspace AO renders on top of my first person renderobjects in 2021.2 URP

    it worked fine in 2021.1

    screen.jpg
     
    hkalterkait likes this.
  2. Mister-D

    Mister-D

    Joined:
    Dec 6, 2011
    Posts:
    1,694
    decals also get applied above the render objects.
     

    Attached Files:

  3. PutridEx

    PutridEx

    Joined:
    Feb 3, 2021
    Posts:
    1,136
    did you make a bug report from the client?
     
  4. Mister-D

    Mister-D

    Joined:
    Dec 6, 2011
    Posts:
    1,694
    no
     
  5. Mister-D

    Mister-D

    Joined:
    Dec 6, 2011
    Posts:
    1,694
    my project is way too large to upload for a bug report.
    im using the same setup as the "URP FPS example" and im using autodesk interactive materials
     
  6. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
  7. Mister-D

    Mister-D

    Joined:
    Dec 6, 2011
    Posts:
    1,694
  8. Sky77

    Sky77

    Joined:
    Jan 30, 2014
    Posts:
    171
    It’s a long time problem: SSAO is broken if you use render features or stencils.
     
  9. Mister-D

    Mister-D

    Joined:
    Dec 6, 2011
    Posts:
    1,694
    yeah really annoying
     
  10. Mister-D

    Mister-D

    Joined:
    Dec 6, 2011
    Posts:
    1,694
    this still isnt fixed in 2021.2.2f1
     
  11. hkalterkait

    hkalterkait

    Joined:
    Jul 20, 2016
    Posts:
    11
    Hi, I am encountering the same issue. Enabling SSAO renders the AO effect on top of my RenderObjects which have their Event set to "BeforeRenderingPostProcessing". The problem happens whenever I set the Event to something after the "BeforeRenderingOpaques" Event on the RenderObject. I am guessing that is because the SSAO render pass event is set to "BeforeRenderingOpeques".

    I am using Unity 2021.1.18f1 / Universal Render Pipeline Version 11.0.
    Is this a bug I should report or is this intended?
    If anyone knows if this problem is fixed in later versions or any work around kindly let us know here.

    Thanks Unity team and everyone
    Best Regards
     
    Last edited: Dec 28, 2021
  12. Mister-D

    Mister-D

    Joined:
    Dec 6, 2011
    Posts:
    1,694
    unity adds render features to urp and then decides to completely break it with new versions. it sucks, last time ive checked its still broken in the latest version.
     
  13. hkalterkait

    hkalterkait

    Joined:
    Jul 20, 2016
    Posts:
    11
    I think RenderObjects Feature is still experimental (that is what is shown in my editor) and they are improving it.
    Anyways, I downloaded Unity 2021.2.7f1 with URP version 12 to check what has improved and if you check the SSAO feature their is now an option you can enable to Render SSAO AfterRenderingOpeques. Their is still some issues though so I would advise making a copy of your project before upgrading. Hopefully this will help you!