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

sphereSdf

Shortcuts:

SDF in 3D space for a uniform sphere.

Parameters

  • Translate: Moves the center of the sphere.
  • Radius: The radius of the sphere.
  • UV Mode:
    • None:
    • Bounds XYZ:
    • Spherical Polar:
    • Sphere:

Inputs

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