I made multisampling configurable in shim5.json and on the command line.
Command line switches are:
-multisampling ; disable it
+samples num ; set number of samples
I can get 8 samples to work in D3D and OpenGL. D3D fails with 16 samples, OpenGL just does not do any multisampling at 16. The default is 4 samples with multisampling enabled.
I will try some other computers tomorrow, and see what results I get. Should be able to get up to 16 samples on supported hardware on D3D 9.
Added linear filtering command line/shim5.json options.
D3D9 and OpenGL handle this differently. D3D has it as a global setting and OpenGL is per texture. For this reason, I made it a global setting on command line and json only.
it works with 16 samples on Intel UHD 630 or something like that, D3D and OpenGL, and it works on nvidia gt 1030 on Linux/OpenGL with 16. I can't tell the difference though.
OK there is actually a big difference between 4 and 16 samples:
But I think 4 is a safer default, since my best GPU doesn't support 16...
Released 2.2.17 with these changes:
- Allow multisampling (default 4 samples)
- Allow linear filtering (default off)
- Fix outline circle
- Doc fixes
- Draw default magenta gradient black bars
- Add set_shader_matrix_array
- Improvements to launcher - faster key/joy repeat, mouse wheel scroll the list instead of selection, enable linear filtering