summaryrefslogtreecommitdiff
path: root/res/text.v.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'res/text.v.glsl')
-rw-r--r--res/text.v.glsl3
1 files changed, 3 insertions, 0 deletions
diff --git a/res/text.v.glsl b/res/text.v.glsl
index 99234775..ccb6b8b5 100644
--- a/res/text.v.glsl
+++ b/res/text.v.glsl
@@ -36,10 +36,12 @@ out vec3 bg;
uniform vec2 termDim;
uniform vec2 cellDim;
+uniform float visualBell;
uniform int backgroundPass;
// Orthographic projection
uniform mat4 projection;
+flat out float vb;
flat out int background;
void main()
@@ -72,6 +74,7 @@ void main()
TexCoords = uvOffset + vec2(position.x, 1 - position.y) * uvSize;
}
+ vb = visualBell;
background = backgroundPass;
bg = backgroundColor / vec3(255.0, 255.0, 255.0);
fg = textColor / vec3(255.0, 255.0, 255.0);