🛠️ A toolkit of 2D/3D distance functions, sdf/vector ops and various utility shader nodegroups (160+) for Blender 2.83+. Also available as an addon which adds a menu in the shader editor.
Now over 65+ nodes! (66 as of this writing) This is mostly a minor update with cosmetic changes here and there, menu reordering(SDF operators) and a couple more nodes.
Control Point
socket for sdBezier
over just Point
on all socketsSubtraction
to Difference
Intersection
to Intersect
sdEllipseNewton
node (Contributed By @GelamiSalami)opPolar
node (Follows D6464)opUnionSoft
opIntersectRound
opDifferenceRound
more details on these operators (originally adapted from fOpUnionSoft
, fOpIntersectionRound
and fOpDifferenceRound
) can be found here
You might have to restart Blender for changes to take effect
The glitch was most notable when used for displacement (details)
The add-on should work on Blender version 2.83 or above (tested with 2.83.19 and 3.2)
Just grab the zip file below and install from Blender's preferences as with any other add-ons (no need to unzip)
This currently features 61 nodegroups (full list):
The groups are mostly adapted from IQ's 2D sdf page and the D6464 sdf nodes patch for some of the vector operators / sdf primitives. These will be noted in the wiki / commits where possible. Check out the links under references for more details.
Examples (with images) were already up in the wiki. Samples for most of SDF primitives should already be there, with the rest being added in the coming week or so. The .blend file included with the add-on will be uploaded to the repo shortly after the release.