text rendering woiks

This commit is contained in:
2023-05-07 16:11:33 +00:00
parent 8552d6a1df
commit 7fc02062c0
3 changed files with 16 additions and 11 deletions

View File

@@ -8,6 +8,7 @@ uniform sampler2D text;
void main()
{
// color = vec4(fColor.xyz, texture(text, TexCoords).r);
color = vec4(1.f,1.f,1.f, texture(text, TexCoords).r);
if (color.a <= 0.1f)