Signed distance field
A method to create vector image images from a bitmap image.
Read a gradient in a shader, and set a hard cutoff, to create a crisp line that’s sharper than a line created by the bitmap’s pixels.
video by Martin Donald
https://www.ronja-tutorials.com/post/034-2d-sdf-basics/