🥢 Drawing Shapes with 2D SDFs

Signed distance fields, or SDFs, are math functions which return the distance from any point to a particular shape. In this video series, I explain the math behind various SDFs, translate them into shader graphs, and demonstrate some uses of them in shaders, procedural materials, GUIs, etc.


Line segments

YouTube Patreon


Rectangles and rounded rectangles

YouTube Patreon