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:
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user