Skip to main content
GameDev.net gamedev.net

Topics

Signed distance fields

A signed distance field returns the distance to a surface, negative inside it. The reason they matter is that they compose: union is a min, intersection is a max, and a smooth-minimum blends two shapes into one without any geometry to stitch.

7 shaders