-
-
Notifications
You must be signed in to change notification settings - Fork 820
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
After we switched to texture-based text rendering, colored text on bright background like direction markers on atmosphere background got a barely noticeable dark fringe. Using alpha channel rendered by QPainter doesn't seem to be easy to get right, so this commit instead uses the RGB channel of white text rendered on black background to get intensity to modulate text color by. The result is now closer to the one we got from QPainter over QOpenGLPaintEngine.
- Loading branch information
Showing
2 changed files
with
96 additions
and
7 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