miserable failure to get text rendering to work using these 'easy text rendering' tricks. Will be bringing in a third party library which I have to write the damn backend implementation for

This commit is contained in:
2020-03-10 18:04:08 -07:00
parent 77b781df1a
commit db8cbdc77e
7 changed files with 505 additions and 37 deletions

View File

@@ -9,14 +9,18 @@ layout(location = 0) out vec4 f_color;
void main() {
if (out_color.w >= 1.004) {
if (out_color.w >= 1.5/255.0) {
f_color = out_color;
//f_color = out_color;
//f_color.w = 1.0;
} else {
f_color = f_color;
f_color.w = 0.0;
//f_color = f_color;
//f_color.w = 0.0;
//f_color = vec4(0.0,0.0,0.0,0.0);
}
f_color.rgb = out_color.rgb;
f_color.a = out_color.a;
//f_color = out_color;
}