2

Posted by tremblin on 2024-12-18, 5:02am
Avatar
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.
Posted by tremblin on 2024-12-18, 5:11am
Avatar
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.
Posted by tremblin on 2024-12-18, 5:45am
Avatar
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.
Posted by tremblin on 2024-12-19, 10:17pm
Avatar
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.
Posted by tremblin on 2024-12-20, 2:16am
Avatar
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...
Posted by tremblin on 2024-12-20, 10:55am
Avatar
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
2

Post a Reply

Please log in to reply.

© 2024 CMYKilluminatiNetwork