
crossSdf
sdf
crossSdf
RayTK
v0.36
An SDF for a 3D cross of infinite length along each axis.
Parameters
-
Translate
: Moves the center of the cross. -
Size
: The width of the arms of the cross. -
Smooth Radius
: Smoothing applied to the intersections of the arms. -
Axes
:-
All Axes
: -
XY
: -
YZ
: -
ZX
:
-
-
Shape
:-
Infinite
: -
Limited XYZ
:
-
-
Length
:
Inputs
-
Scale Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
vec4
- Coordinate Types:
-
Smooth Radius Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
Length Field
: (optional)- Coordinate Types:
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
vec4
- Coordinate Types: