crossSdf

crossSdf

An SDF for a 3D cross of infinite length along each axis.

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 Runtime Semi-Baked
  • All Axes:
  • XY:
  • YZ:
  • ZX:
Shape Runtime Semi-Baked
  • Infinite:
  • Limited XYZ:
Length 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