Some cool things you can do with Signed Distance Functions
How to draw a perfect 1 pixel border ring? I tried but when resolution scales, the border scales too.
Hey, read my tutorial on Anti-aliasing:
https://mini.gmshaders.com/p/antialiasing
This shows how to correct for the SDF scales
How to draw a perfect 1 pixel border ring? I tried but when resolution scales, the border scales too.
Hey, read my tutorial on Anti-aliasing:
https://mini.gmshaders.com/p/antialiasing
This shows how to correct for the SDF scales