Closed haekb closed 4 years ago
Doing a few small hex edits to swap the engine to use D3DSWAPEFFECT_DISCARD in windowed mode fixes MSAA in windowed mode! Neat.
There's a small problem where there's a 1 pixel offset on the top left corner of most on screen overlays (cinematic bars for example.)
It also causes particle effects to be a little incorrect. As seen from the fire in the opening cutscene
I may add it as a "There's bugs, but it's cool." option.
Edit: Turns out this is just default windowed mode doing it's thing. Not related to my hex edit tweaks or anti-aliasing. The 1 pixel offset is a problem though!
I haven't fully tested it, but I assume it's the same as these options https://docs.microsoft.com/en-us/previous-versions/ms130142%28v%3dvs.100%29
There weren't a lot of ways to do anti-aliasing back then..
AntiAliasFSOverSample
It requires fullscreen, so there should also be a check to disable it if windowed mode is enabled!
Here's a pic of it being set to 4!