Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix text rendering blend mode, make progress bar text bold.
Fixes the progress bar legibility, part of ticket:4569.
- Loading branch information
Showing
8 changed files
with
79 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#version 130 | ||
|
||
uniform vec4 color = vec4(1.); | ||
uniform sampler2D texture; | ||
|
||
in vec2 uv; | ||
out vec4 FragColor; | ||
out vec4 FragColor1; | ||
|
||
void main() | ||
{ | ||
vec4 texColour = texture2D(texture, uv) * color.a; | ||
FragColor = vec4(texColour.rgb * color.rgb, texColour.rgb * vec3(0.299, 0.587, 0.114)); | ||
FragColor1 = texColour; | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,6 +104,7 @@ enum SHADER_MODE | |
SHADER_GFX_TEXT, | ||
SHADER_GENERIC_COLOR, | ||
SHADER_LINE, | ||
SHADER_TEXT, | ||
SHADER_MAX | ||
}; | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ enum iV_fonts | |
font_large, | ||
font_medium, | ||
font_small, | ||
font_bar, | ||
font_scaled, | ||
font_count | ||
}; | ||
|
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