Search Unity

Different content by eye in shader: unity_CameraProjection[0][2] < 0 no longer working?

Discussion in 'AR/VR (XR) Discussion' started by AndrewCzarnietzki, Nov 29, 2016.

  1. AndrewCzarnietzki

    AndrewCzarnietzki

    Joined:
    Jul 23, 2013
    Posts:
    189
    Hey!

    We've been using unity_CameraProjection[0][2] < 0 in our shader for good effect, but after the recent Oculus upgrade, this always returns a negative result.

    Has anyone run into this, and or does anyone know how we can differentiate the eyes in a shader?

    Thanks!
     
  2. silentslack

    silentslack

    Joined:
    Apr 5, 2013
    Posts:
    393
    Would also like to know this!
     
  3. Adam-Romney

    Adam-Romney

    Joined:
    Nov 13, 2013
    Posts:
    9