Simplified text overlay example, code cleanup, better text blending

This commit is contained in:
saschawillems 2018-03-24 11:35:02 +01:00
parent 0c2720efc3
commit 3c230c7ff5
18 changed files with 119 additions and 408 deletions

View file

@ -9,5 +9,5 @@ layout (location = 0) out vec4 outFragColor;
void main(void)
{
float color = texture(samplerFont, inUV).r;
outFragColor = vec4(vec3(color), 1.0);
outFragColor = vec4(color);
}