Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6 7 8 9
void main() { /* Should be 0.8 but minimize the AA on the edges. */ float dist = (length(uv) - 0.78) * scale; fragColor = color; fragColor.a *= smoothstep(-0.09, 1.09, dist); }