crossSdf

crossSdf

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
  • All Axes:
  • XY:
  • YZ:
  • ZX:
Shape

Whether to make the cross have infinite length or limited lengths.

Runtime Semi-Baked
  • Infinite:
  • Limited XYZ:
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
  • 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
  • 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