Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement antialiasing for automap lines
This implements a bruteforce approach for 2D line antialiasing. It's not perfect by any means, but it seems to do its job well enough. Since it draws 9 lines instead of 1 line per segment, it's significantly more expensive but should still be usable on modern hardware (except on very complex maps). Automap line antialiasing is disabled by default and can be enabled with the `am_lineantialiasing 1` cvar.
- Loading branch information
1 parent
a397a93
commit 2fa88aa
Showing
2 changed files
with
58 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters