SDF Egg

SDF Egg

SDF Egg Node

Inputs

float2 RadiusA | default 0.4
float2 RadiusB | default 0.2
float2 Height | default 0.5
float2 Roundess | default 0.5

Behaviour

Outputs the signed distance field for an egg. It is built from two circles which are Height distance apart. RadiusA is the lower circle, RadiusB is the upper one. Roundess defines how the two circle are connected higher values lead to more round eggs, lower values will be more pointy.

SDF Output