sockscape/resources/client/shaders/font/font.frag
2018-08-31 10:07:11 -05:00

15 lines
No EOL
328 B
GLSL

#version 330 core
in vec2 texCoords;
out vec4 fragColor;
uniform vec4 fontColor;
uniform sampler2D fontBitmap;
void main() {
/*vec4 outColor = texture(fontBitmap, texCoords);
if(outColor.xyz == vec3(0.0, 0.0, 0.0))
discard;*/
//fragColor = fontColor * vec4(0, 1, 0, 1);
fragColor = vec4(0, 1, 0, 1);
}