b3dsdf ๐งฐ
b3dsdf (blender signed distance functions) is a toolkit of 2D/3D signed distance functions and operators nodegroups for the shader editor in Blender 2.83+.
These nodes can be used by appending from the .blend file or use them with the addon which adds a menu in the shader editor. They can also be used with the asset browser by adding the .blend as an asset library and marking them as assets.
Geometry Nodes (Volume Cube)
As of the D15198 patch it is now possible to use the SDF nodes/operators from this pack via their Geometry Nodes equivalents in Blender 3.3 Alpha.
Currently there's no plans to maintain another set of nodes/add-on but they can be converted for use from shader nodes using the add-on mentioned in this twitter thread by Val Barashkov.
Installation
Download the latest zip file from the release page and install as normal. There's no need to unzip before installing. You might have to restart Blender for changes to take effect after installing / uninstalling.
Alternatively you have the option to install directly from source (code > download zip, or via repo cloning) which might include new features/nodes. Do note that the changes might not be finalized before a release.
Nodegroups
List of available nodegroups can be found in shader_nodes.json. Examples (with images) can be found in the wiki page (work in progress).
References
- Erindale's Toolkit (original add menu logic)
- D6464 Blender SDF patch
- Additonal references / Shadertoy playlist
- Inigo Quilez's 3D Distance Functions
- Inigo Quilez's 3D SDF Primitves / Shadertoy playlist
- Inigo Quilez's 2D Distance Functions
- Inigo Quilez's 2D SDF Primitves / Shadertoy playlist
- hg_sdf glsl library