Search Unity

Question How to perform VR post-processing in custom SRP

Discussion in 'VR' started by HoshiNoKawa, Jun 3, 2023.

  1. HoshiNoKawa

    HoshiNoKawa

    Joined:
    Oct 18, 2022
    Posts:
    1
    I recently wanted to implement a custom rendering pipeline in the VR project and found code on Github (https://github.com/dsmeathersFireproof/TinyVRSRP/tree/master) that can help me successfully display the rendering results of the custom pipeline on HMD. But I want to add a post-processing after this and I don't know how to implement it. In typical non-VR projects, I only need to SetRenderTarget to a different RT and blit it to BuiltinRenderTextureType.CameraTarget through my post-processing shader. However, this seems to have no effect in VR rendering pipeline.
    So I wonder what the correct approach is.
     
  2. TommyTheITGuy

    TommyTheITGuy

    Joined:
    Jun 11, 2015
    Posts:
    53