sphereSdf

sphereSdf

Shortcuts:
  • sph
sdf
sphereSdf
RayTK
v0.39

SDF in 3D space for a uniform sphere.

Parameters

Name Description Regular Handling Read-Only Handling
Translate

Moves the center of the sphere.

Runtime Baked
Radius

The radius of the sphere.

Runtime Baked
UV Mode Semi-Baked Semi-Baked
  • None:
  • Bounds XYZ:
  • Spherical Polar:
  • Sphere:

Inputs

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