summaryrefslogtreecommitdiffstats
path: root/res/text.f.glsl
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2016-02-24 19:09:21 -0800
committerJoe Wilm <joe@jwilm.com>2016-02-24 19:09:21 -0800
commit24b4c3ba4778125c49b8c27efb5a404984aac4bb (patch)
tree3485a2a25d875a30e0066524c969bdd193360257 /res/text.f.glsl
parent400e4c92a77f875c502847f727cde5f433835b14 (diff)
Fragment shader supplies color correctly
Diffstat (limited to 'res/text.f.glsl')
-rw-r--r--res/text.f.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/text.f.glsl b/res/text.f.glsl
index 32266b3e..fccddafc 100644
--- a/res/text.f.glsl
+++ b/res/text.f.glsl
@@ -7,5 +7,5 @@ uniform vec3 textColor;
void main()
{
vec4 sampled = vec4(1.0, 1.0, 1.0, texture(text, TexCoords).r);
- gl_FragColor = vec4(1.0, 1.0, 1.0, 1.0) * sampled;
+ gl_FragColor = vec4(textColor, 1.0) * sampled;
}