Add configurable multisampling.