
crossSdf2d
sdf2d
crossSdf2d
RayTK
v0.36
2D cross shape SDF, with 4 arms and option rounding of the intersections.
Parameters
-
Outer Size
: The length of the arms. -
Inner Size
: Thickness of the arms. -
Roundness
: How much to round out the intersection corners.
Inputs
-
Outer Size Field
: (optional)- Coordinate Types:
vec2
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
Inner Size Field
: (optional)- Coordinate Types:
vec2
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
Roundness Field
: (optional)- Coordinate Types:
vec2
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types: