Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
ACZ3's avatar
ACZ3
Honored Guest
9 years ago

How to identify the different eyes in a shader? unity_CameraProjection[0][2] < 0 no longer works :(

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!
No RepliesBe the first to reply