Forum Discussion
Anonymous
5 years agounity_StereoEyeIndex always set to 0 for Oculus Quest?
Hi, I'm trying to create a portal effect using render textures with no luck. I create two cameras to observe the other side of the portal, using the stereo settings from the main camera (separation...
comomomo
3 years agoHonored Guest
I'm also curious about this! Reading some of the compiled code it looks like unity_StereoEyeIndex is only defined with UNITY_SINGLE_PASS_STEREO, UNITY_STEREO_INSTANCING_ENABLED, UNITY_STEREO_MULTIVIEW_ENABLED. The issue for me was that I was using Multi Pass. Switching to single pass instanced in the editor and multiview for android solved the issue. I am kinda curious why unity_StereoEyeIndex doesn't work in Multi Pass though. You'd think they might come up with some kind of workaround for people using it in an artistic way?
- yvettemuki2 years agoExplorer
I think this problem has been fixed. Currently, unity_StereoEyeIndex works well in Multi-Pass Mode.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device