I am trying to get OpenGL to render stuff with MSAA. I learned from a tutorial that this can be done with
OpenGLPixelFormat, like this:
// Setup a pixel format object to tell the context what level of // multisampling to use. OpenGLPixelFormat pixelFormat; pixelFormat.multisamplingLevel = 4; // Change this value to your needs. m_openGL.setPixelFormat(pixelFormat); m_openGL.setRenderer(this); m_openGL.setContinuousRepainting(true); m_openGL.attachTo(*this);
But it seems to have no effect. Am I doing it wrong or is there another way to achieve AntiAliasing?
I am on Ubuntu, JUCE 6.1.0