crossSdf
sdf
crossSdf
RayTK
v0.42
An SDF for a 3D cross along each axis, with either infinite or limited length.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Translate | Moves the center of the cross. | Runtime | Baked |
Size | The width of the arms of the cross. | Runtime | Baked |
Smooth Radius | Smoothing applied to the intersections of the arms. | Runtime | Baked |
Axes | Which axes to include in the cross. | Runtime | Semi-Baked |
| |||
Shape | Whether to make the cross have infinite length or limited lengths. | Runtime | Semi-Baked |
| |||
Length | Length of the cross on each axis. | Runtime | Baked |
Inputs
-
Scale Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Coordinate Types:
-
Smooth Radius Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
sizeField
- Coordinate Types:
-
Length Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Supports Variables From Inputs:
sizeField
smoothRadiusField
- Coordinate Types: