We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3032f88 + c433f38 commit 3998539Copy full SHA for 3998539
lib/shaders/frag.glsl
@@ -24,7 +24,7 @@ void main() {
24
float gamma = .0045 * charsStep / pointSize;
25
26
//null-border case
27
- if (borderWidth == 0. || borderColor.a == 0.) {
+ if (borderWidth * borderColor.a == 0.) {
28
float charAmt = smoothstep(.748 - gamma, .748 + gamma, dist);
29
gl_FragColor = vec4(charColor.rgb, charAmt*charColor.a);
30
return;
0 commit comments