I'm new to MonoGame and I've just spent most of the day trying to get MSAA to work. I'm using MonoGame 3.6 on Windows 7 x64 on a laptop with Optimus (one Intel, one NVidia GPU).
Results so far:
In all experiments I'm setting
GraphicsProfile = GraphicsProfile.HiDef;
PreferMultiSampling = true crashes (NoSuitableGraphicsDeviceException), unless I manually set
MultiSampleCount to <=8, then MSAA works fine. By default MonoGame seems to choose 32, which doesn't seem to work. Curiously, forcing the NVidia GPU in the driver and overriding the multisampling settings does NOT work with DirectX.
PreferMultiSampling = true does nothing at all, regardless of
MultiSampleCount. Interestingly, I CAN use the NVidia driver to override the settings and use up to 32x MSAA.
The source code for
GraphicsDevice.OpenGL.cs looks a little weird, large chunks (including parts related to the MultiSampleCount) are commented out.
On which platforms and APIs does MonoGame currently support MSAA? I couldn't really find any up to date statement, so any hint would be highly appreciated.