diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/text.f.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/text.f.glsl b/res/text.f.glsl index fccddafc..ce9dd41e 100644 --- a/res/text.f.glsl +++ b/res/text.f.glsl @@ -1,11 +1,11 @@ #version 330 core in vec2 TexCoords; -uniform sampler2D text; +uniform sampler2D mask; uniform vec3 textColor; void main() { - vec4 sampled = vec4(1.0, 1.0, 1.0, texture(text, TexCoords).r); + vec4 sampled = vec4(1.0, 1.0, 1.0, texture(mask, TexCoords).r); gl_FragColor = vec4(textColor, 1.0) * sampled; } |