Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Resolved Post Processing Depth Of Field not work on Overlay Camera and Transparent Objects

Discussion in 'Universal Render Pipeline' started by Ellva, Nov 24, 2021.

  1. Ellva

    Ellva

    Joined:
    Jan 13, 2020
    Posts:
    7
    I upgrage Unity2019.4.30 URP7.7.1 to Unity2021.2.3 URP12.1.1. Post Processing Depth Of Field only work in base camera.in Frame Debugger the Overlay Camera use the Base Camera depth result. if I set the Base Camera Culling Mask -> Nothing. the all Overlay Camera Depth Of Field doesn't work.
    In Unity2019.4.30 URP7.7.1 it seems everything ok. I can see the overlay depth reslut is correct in Frame Debugger.
     
  2. Kadae

    Kadae

    Joined:
    Dec 7, 2013
    Posts:
    52
    Depth of Field works really bad in Unity 2021 for me. It can't focus on a very close objects.

    Tonemapping (I using ACES) make game mode darker twice because of Overlay camera.
    Here is Edit mode with ACES and Game mode with ACES + ACES from Overlay.
    upload_2021-11-24_17-26-52.png

    Post proccess Volume (as a component) on Cinemachine cameras with the same Post Proccess Volume won't updating when I changing Post Proccess Volume.

    This is a only bugs I found...
     
  3. Ellva

    Ellva

    Joined:
    Jan 13, 2020
    Posts:
    7
    I fund a URP setting Depth Priming Mode -> Force. The Overlay Camera can renderer the depth correct.
    But the transparent object can't write depth. So the Post Processing Depth Of Field with transparent object donesn't work. In 2019 URP7.7.1 I add A renderer feature as below.But it no effect in 2021 URP12.1.1

    TransparentDepthForwardRendererData.jpg
     
  4. Ellva

    Ellva

    Joined:
    Jan 13, 2020
    Posts:
    7