crossSdf2d
sdf2d
crossSdf2d
RayTK
v0.42
2D cross shape SDF, with 4 arms and option rounding of the intersections.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Outer Size | The length of the arms. | Runtime | Baked |
Inner Size | Thickness of the arms. | Runtime | Baked |
Roundness | How much to round out the intersection corners. | Runtime | Baked |
Inputs
-
Outer Size Field
: (optional)- Coordinate Types:
vec2
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Coordinate Types:
-
Inner Size Field
: (optional)- Coordinate Types:
vec2
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
outerSizeField
- Coordinate Types:
-
Roundness Field
: (optional)- Coordinate Types:
vec2
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
outerSizeField
innerSizeField
- Coordinate Types: