Forum Discussion
Anonymous
11 years agoNo sRGB inside HMD (OpenGL, SDK 0.4.3)
Hello, Here is my experience with the DK2 so far. I work with SDL2, OpenGL 3.3 in default profile (compatibility ?) and Windows 7 64 bits for now. I was surprised to get the Direct HMD mode working...
sth
11 years agoHonored Guest
"ockiller" wrote:
I was surprised to get the Direct HMD mode working flawlessly (with this initialisation order : ovr_Initialize, ovrHmd_Create, window and GL context creation, ovrHmd_AttachToWindow, ovrHmd_ConfigureRendering).
Thanks a lot for that piece of information! Following that exact order (and eliminating all other calls that might interfere), I finally got direct mode working!
However, it vsyncs at 60Hz, which leads to stuttering. :( Did you encounter this problem? (SDK 0.4.3)
"ockiller" wrote:
The only problem that disturbs me is that I can't get sRGB correction when outputing to the HMD in direct-HMD mode (colors are okay in extended desktop mode). I usually set my color textures to GL_SRGB8 format to get free conversion to linear space when reading textures, and when I output to color framebuffers (or FBO with GL_SRGB8 attached textures) I usually use the GL_FRAMEBUFFER_SRGB option.
Are you using SDL_GL_SetAttribute(SDL_GL_FRAMEBUFFER_SRGB_CAPABLE, 1); ?
Same here.
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
- 9 months ago
- 5 months agoAnonymous