Forum Discussion
obzen
12 years agoExpert Protege
Some sample code for basic Oculus support with SDL 2.
Pretty trivial atm, but some may find it useful. ;) http://pastebin.com/2qdG5kRj All righty, back to work!
obzen
12 years agoExpert Protege
For anyone looking for a 'simple' C++ code sample.
Finally got my head around using GLSL shaders, so added the distortion filter. That means it's 1,000 line of code now, with the extra necessary stuff (frame buffer, shaders, and VBO's).
http://pastebin.com/2VEasjbu
Finally got my head around using GLSL shaders, so added the distortion filter. That means it's 1,000 line of code now, with the extra necessary stuff (frame buffer, shaders, and VBO's).
http://pastebin.com/2VEasjbu
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
- 2 years ago