mirror of https://github.com/bjornbytes/lovr.git
Remove font shader discard;
This commit is contained in:
parent
416f6f7216
commit
94355db2b5
|
@ -75,7 +75,6 @@ const char* lovrFontFragmentShader = ""
|
|||
" float sdf = median(col.r, col.g, col.b); \n"
|
||||
" float w = fwidth(sdf); \n"
|
||||
" float alpha = smoothstep(.5 - w, .5 + w, sdf); \n"
|
||||
" if (alpha < .001) { discard; } \n"
|
||||
" return vec4(graphicsColor.rgb, graphicsColor.a * alpha); \n"
|
||||
"}";
|
||||
|
||||
|
|
Loading…
Reference in New Issue