sphereSdf

sphereSdf

Shortcuts:
  • sph
sdf
sphereSdf
RayTK
v0.36

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