Get the latest tech news
AAA – Analytical Anti-Aliasing
How to fix jaggies the analytical way with some juicy secrets
We’ll talk about professional implementations further below in a moment, but using fwidth() for AAA is what Unity extension “ Shapes ” by Freya Holmér calls “ Fast Local Anti-Aliasing ” with the following text: If you save a signed distance field into a texture and sample it with linear interpolation, you will get perfectly sharp characters at any size, but the limited resolution will result in clipped or rounded corners, depending on implementation math. Basically, use RGB and a median term to get perfectly sharp text at any size, including an Alpha channel with the classical SDF for effects like glows and drop shadows, all done on the GPU with no run-time baking or intense processing.
Or read this on Hacker News