aboutsummaryrefslogtreecommitdiff
path: root/res/text.f.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'res/text.f.glsl')
-rw-r--r--res/text.f.glsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/text.f.glsl b/res/text.f.glsl
index 770c1a36..70d50b38 100644
--- a/res/text.f.glsl
+++ b/res/text.f.glsl
@@ -15,6 +15,7 @@
in vec2 TexCoords;
in vec3 fg;
in vec3 bg;
+flat in float vb;
flat in int background;
layout(location = 0, index = 0) out vec4 color;
@@ -26,7 +27,7 @@ void main()
{
if (background != 0) {
alphaMask = vec4(1.0, 1.0, 1.0, 1.0);
- color = vec4(bg, 1.0);
+ color = vec4(bg + vb, 1.0);
} else {
alphaMask = vec4(texture(mask, TexCoords).rgb, 1.0);
color = vec4(fg, 1.0);