Perfecting anti-aliasing on signed distance functions
(blog.pkh.me)
from tedu@inks.tedunangst.com to inks@inks.tedunangst.com on 04 Aug 22:26
https://inks.tedunangst.com/l/5258
from tedu@inks.tedunangst.com to inks@inks.tedunangst.com on 04 Aug 22:26
https://inks.tedunangst.com/l/5258
Doing anti-aliasing on SDF is not as straightforward as it seems. Most of the time, we see people use a smoothstep with hardcoded constants, sometimes with screen space information, sometimes cryptic or convoluted formulas. Even if SDFs have the perfect mathematical properties needed for a clean anti-aliasing, the whole issue has a scope larger than it appears at first glance. And even when trivial solutions exist, it’s not always clear why they are a good fit. Let’s study that together.
threaded - newest