Antialiasing For SDF Textures
Tags: conformal-decals gamedev ksp | Jun 26, 2020 |
SDF textures are commonly used for rendering text and simple graphics in both 2D and 3D applications. They allow for smooth and crisp graphics using small raster graphics as an input, and relatively simple shaders. If you’re unfamiliar with them, I recommend reading the Valve whitepaper. Antialiasing when rendering SDFs seems to be a recurring problem, and I set out to find a good method that worked for any input.
As a demo, I’ll be using the following SDF texture. I’m using white to represe...
See More