Supermodel/Src/Graphics
Ian Curtis c039d08c03 Add supersampling anti-aliasing
Late christmas present. Due to the way alpha works on the model3 adding regular anti-aliasing doesn't really work. Supersampling is very much a brute force solution, render the scene at a higher resolution and mipmap it.

It's enabled via command line with the -ss option, for example -ss=4 for 4x supersampling or by adding Supersampling = 4 in the config file.

Note non power of two values work as well, so 3 gives a very good balance between speed and quality. 8 will make your GPU bleed, since it is essentially rendering 64 pixels for every visible pixel on the screen.
2023-12-26 18:25:03 +00:00
..
Legacy3D Add supersampling anti-aliasing 2023-12-26 18:25:03 +00:00
New3D Add supersampling anti-aliasing 2023-12-26 18:25:03 +00:00
FBO.cpp Emulate the entire tilegen chip in a GLSL shader. (This is now possible with opengl 3+). The tilegen drawing was emulated on the CPU, but was one of the most expensive functions in the emulator according to a profiler. On a modern GPU it's pretty much free, because a GPU is a massive SIMD monster. 2023-09-23 15:27:04 +01:00
FBO.h Emulate the entire tilegen chip in a GLSL shader. (This is now possible with opengl 3+). The tilegen drawing was emulated on the CPU, but was one of the most expensive functions in the emulator according to a profiler. On a modern GPU it's pretty much free, because a GPU is a massive SIMD monster. 2023-09-23 15:27:04 +01:00
IRender3D.h Add supersampling anti-aliasing 2023-12-26 18:25:03 +00:00
Render2D.cpp Add supersampling anti-aliasing 2023-12-26 18:25:03 +00:00
Render2D.h Add supersampling anti-aliasing 2023-12-26 18:25:03 +00:00
Shader.cpp fix some real errors (Model3,InputSystem), minor errors (SCSP,SDL/Main) and some performance warnings 2022-07-11 17:43:59 +02:00
Shader.h missed 2 changed files with last commit 2022-07-11 18:27:44 +02:00
Shaders2D.h gm_mathew - the line scroll values, the top 16bits are the even lines, the bottom 16bits are the odd lines. We had it swapped. This fixes the number below the word results in daytona, when you finish a game. 2023-10-31 23:50:19 +00:00
SuperAA.cpp Add supersampling anti-aliasing 2023-12-26 18:25:03 +00:00
SuperAA.h Add supersampling anti-aliasing 2023-12-26 18:25:03 +00:00