This repository has been archived on 2025-03-10. You can view files and clone it, but cannot push or open issues or pull requests.
2021-09-02 02:21:27 -05:00

14 lines
223 B
GLSL

#version 330 core
in vec2 texCoord;
uniform sampler2D text;
uniform vec3 textColor;
out vec4 color;
void main() {
vec4 temp = vec4(1.0, 1.0, 1.0, texture(text, texCoord).r);
color = vec4(textColor.xyz, 1.0) * temp;
}