SDF Rounded X

SDF Rounded X

SDF RoundedX Node

Inputs

float2 Point1 | default float2(0.5, 0.5)
float2 Point2 | default float2(0.0, 0.5)
float2 Point3 | default float2(-0.5, -0.5)

Behaviour

Outputs the signed distance field for a rounded X. Radius controls the radius of the tips of the two crossing lines and SideLength controls the length. All sides are always equally long.

SDF Output