___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
SDF of the shapes used in the examples below
___ ___ ___
Intersect Rounded
___ ___ ___
Subtract Rounded
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
Champfer versions:
Merge Champfer
___ ___ ___
Intersect Champfer
___ ___ ___ ___ ___
Subtract Champfer
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
Groove Border
___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
New coordinates using the SDF of the two shapes
This is the Second Part of a 2D Sign Distance Field Material Function Library I created for Unreal Engine.
SDFs can be used in various different ways, in this case, they are very powerful and useful when creating materials. Here you can see different ways shapes can be combined.
Check out the blog post guide about this topic, where I explain everything you can see here as well as some tips for making your own Material Function Library.
https://www.artstation.com/blogs/briz/28br/2d-sdf-combine-shapes-material-function-library-ue5
___ ___ ___ ___ ___
Link to the first part if you need an introduction:
https://www.artstation.com/blogs/briz/mnRN/2d-sdf-basic-shapes-and-visualization-material-function-library-ue5