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

Effects not displaying properly with two layered cameras when viewport rect values changed

Discussion in 'Image Effects' started by JTPrime, May 1, 2019.

  1. JTPrime

    JTPrime

    Joined:
    Apr 12, 2019
    Posts:
    12
    Here's the issue:

    I'm using the built-in pipeline. I have one camera rendering a 3D HUD that has Post-Processing Stack v2 effects applied, and it is clearing depth. Underneath this HUD camera I have the MainCamera rendering everything else in the scene. Everything works well until I change the viewport rectangle properties on either of the cameras (as seen in the screenshots below.)

    Is this a bug? If I remember correctly, this doesn't happen in HDRP using Post-Processing Stack v2. It definitely doesn't happen with the new Volume Effects in Unity 2019.

    Thanks for any help!

    Without changes to the viewport rectangle.
    postfx1.JPG

    With changes to the viewport rectangle.
    postfx2.JPG