Forum Discussion
FOKSlab
8 years agoExplorer
Submit 2 GL_RGBA OpenGL textures without calling the ovr_CreateTextureSwapChainGL method ?
Hi, I would like to implement Oculus rendering in my OpenGL app which is already providing stereoscopic rendering. The stereo views are already stored in GL_RGBA textures. I was wondering if there i...
FOKSlab
8 years agoExplorer
if you are trying alternative methods outside of how our PC SDK functions, this coding and technique will need to be custom on your end.
Hi, thanks for your quick answer !
It is not really an alternative method since the rendering is "classic" OpenGL rendering into textures thanks to FBOs.
I am just trying to integrate the best way (for me obviously ;) ) the Oculus SDK without breaking what has been done before.
So using my RGBA stereo textures to copy them into the correct swapchains textures sounded right for me, but I don't know if blitting RGBA texture to SRGB ones (calling glEnable(GL_FRAMEBUFFER_SRGB) before) will do the job (conversion RGBA>SRGB without using a specific shader). I have written the code but not tested yet. As soon as I have tested this method I will give you feedbacks.
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
- 7 months ago
- 1 year ago
- 10 months ago
- 1 year ago