Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Ayfel's avatar
Ayfel
Expert Protege
7 years ago

Asymmetric FOV and mirror shader effect

Hi,
I am using a stereorenderer efffect for mirrors in our game https://github.com/ViveSoftware/ViveStereoRenderingToolkit/blob/master/Assets/HTC.UnityPlugin/StereoRendering/Resources/Shader/StereoRenderShader.shader but when updating to a new version of Unity with Asymmetric FOV the effect breaks, I believe because of the offcenter projection matrix most likely. Can I get some help in how to fix this shader?

Best.
Alejandro

2 Replies

Replies have been turned off for this discussion
  • Ayfel's avatar
    Ayfel
    Expert Protege
    Can I get symmetric projection matrices somehow to feed this asset and have the right behaviour?
  • Ayfel's avatar
    Ayfel
    Expert Protege
    This code has Oculus Support as well, and I am using it, but it breaks in the asymmetric fov implementations (so I had to regress to 2017.4.10f1 to keep using it with OVR)