2018-08-29 21:33:28 +00:00
|
|
|
#version 330 core
|
|
|
|
in vec2 texCoords;
|
|
|
|
out vec4 fragColor;
|
|
|
|
|
|
|
|
uniform vec4 fontColor;
|
|
|
|
uniform sampler2D fontBitmap;
|
|
|
|
|
|
|
|
void main() {
|
2018-08-31 15:07:11 +00:00
|
|
|
/*vec4 outColor = texture(fontBitmap, texCoords);
|
2018-08-29 21:33:28 +00:00
|
|
|
if(outColor.xyz == vec3(0.0, 0.0, 0.0))
|
2018-08-31 15:07:11 +00:00
|
|
|
discard;*/
|
2018-08-29 21:33:28 +00:00
|
|
|
|
2018-08-31 12:22:12 +00:00
|
|
|
//fragColor = fontColor * vec4(0, 1, 0, 1);
|
|
|
|
fragColor = vec4(0, 1, 0, 1);
|
2018-08-29 21:33:28 +00:00
|
|
|
}
|