3D signed distance function geometry nodes¶
The signed distance function nodes can be used to define complex 3D geometry using simple shapes.
They are based on a very small set of basic shapes, that can be combined using operators, and finally output as a greyscale heightmap and a color normal map using the render node.
Describing 3D objects using SDF primitives is more difficult than using existing meshes, but this method integrates smoothly with shader generation, and (as many nodes in Material Maker) is resolution independant.
All shapes can be associated to a color index that can be used to apply different (2D or 3D) textures to the result.
All output samples shown in this section are preview images.
All Signed Distance Functions nodes are based on code written by Inigo Quilez that can be found on this page.