Forum Discussion
CadsoftIT
10 years agoHonored Guest
ASW Black Bar Flickering in Each Eye (OpenGL)
We've had problem free Rift support in our application for well over a year, but ever since the update that enabled ASW for everyone we've had an issue appearing for anyone with a video card and drive...
CadsoftIT
10 years agoHonored Guest
After some more debugging I narrowed it down to an issue with monoscopic rendering. Our rather large CAD application doesn't have a particularly high performance 3D renderer, so by default stereo rendering is off. But since the condition seemed to be contagious between OVR sessions, turning on stereo rendering after previously rendering in mono never appeared to make a difference. However, by chance I started our application with stereo enabled, prior to performing any monoscopic rendering, and the issue disappeared.
On further investigation, it seems to happen whenever I set the second ovrLayer.ColorTexture to NULL, which is how to share a single texture between both eyes according to OVR documention.
As a workaround I can copy the mono image to a second texture swap chain and simply assigned it to the second ovrLayer.ColorTexture, as you would for stereo rendering. I wonder however if there's something else I'm missing in setting up for monoscopic display on the Rift (as it's not particularly well documented), or perhaps there's just a previously undetected bug with ASW, as monoscopic rendering isn't that common?
On further investigation, it seems to happen whenever I set the second ovrLayer.ColorTexture to NULL, which is how to share a single texture between both eyes according to OVR documention.
As a workaround I can copy the mono image to a second texture swap chain and simply assigned it to the second ovrLayer.ColorTexture, as you would for stereo rendering. I wonder however if there's something else I'm missing in setting up for monoscopic display on the Rift (as it's not particularly well documented), or perhaps there's just a previously undetected bug with ASW, as monoscopic rendering isn't that common?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 months ago
- 7 months ago
- 3 months ago
- 3 months ago