Skip to main content
Up and Coming
October 7, 2015

OpenGl antialiasing - SDK 0.6

Hello,

I used the very helpfull "Oculus Room Tiny (GL)" project to build a small viewer.
So I use an fbo to render in the hmd and a blit buffer to do a mirror in a window.

My scene is really not nice without antialiasing.

It seems that it is not possible to use a pixelformat with MSAA when using fbo.
It seems that the right way is to use MULTISAMPLE with fbo.

Is it possible to use multisample with oculus ?
I ask the question because when I try to bind a texture in an ovrSwapTextureSet with GL_TEXTURE_2D_MULTISAMPLE I obtain a GL_INVALID_OPERATION error.

Opengl functions to use to do antialiasing are wellcome so that I can search tutorials and samples on the net.

Thanks for your advices.