Skip to main content Link Menu Expand (external link) Document Search Copy Copied
crossSdf

crossSdf

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:

Inputs

  • Scale Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4
  • Smooth Radius Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float