Search Unity

Question PostProcessing on left eye only

Discussion in 'VR' started by gilamran, Feb 5, 2023.

  1. gilamran

    gilamran

    Joined:
    Jun 30, 2013
    Posts:
    15
    Hi,
    I'm investigating some eye correction software using Unity.
    I want to add a post-processing filter to only one of the eyes...
    On my tests I've created two cameras targeting the left and the right eye respectively. I've added post processing Layer and a profile for each, but when I look at it on the VR I see that both cameras are getting the post processing... Just added Bloom to the left eye profile... but both are getting it, what am I doing wrong?

    Any help would be appreciated!
    Thanks
     
  2. nilagard

    nilagard

    Joined:
    Jan 13, 2017
    Posts:
    77
    This is how Unity handles shaders. If you take a dive into the VR section in the Unity Documentation you will get a better understanding of how a VR headset is rendered and how the engine handles it and how you can get around this "problem" of yours. Mainly your question is about the SinglePass and Multipass I believe.