Search Unity

Question Looking for a workaround for a custom pass effect

Discussion in 'General Graphics' started by lowbl_dan, May 24, 2023.

  1. lowbl_dan

    lowbl_dan

    Joined:
    Jan 22, 2019
    Posts:
    34
    Hi all,

    I have a full screen blit effect that I tried creating by referencing examples from https://github.com/alelievr/HDRP-Custom-Passes in HDRP. Unfortunately some of the custom passes from these examples will not work due to a bug that I have filed here.

    https://issuetracker.unity3d.com/is...e-shader-has-different-results-when-in-player

    Does anyone know of any alternate way I can recreate this effect using shaders in HDRP?

    Note:
    The attached image is a simple example of the result I'm looking for. I have multiple fbx objects to render in color against a saturated pass.

    I have also tried graphic compositor for camera stacking, but couldn't replicate this effect as the behavior of the object on the target layer was always uncolored or inconsistently different.
     

    Attached Files: