Add QMultiSampleAntiAliasing to a QForwardRenderer
问题 I'm trying to enable Multisampling in qt3d. The Qt3DExtras::Qt3DWindow already does the following during initialisation: format.setDepthBufferSize(24); format.setSamples(4); format.setStencilBufferSize(8); setFormat(format); QSurfaceFormat::setDefaultFormat(format); which is a good start. So according to this post, the only OpenGL call necessary to enable Multisampling would be glEnable(GL_MULTISAMPLE); And indeed, the documentation of documentation of QMultiSampleAntiAliasing states: Note: