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

boxFrameSdf

Shortcuts:
Keywords:
  • box
  • cube
  • frame
  • rectangle
  • square

SDF for the squared frame of the edges of a box.

Parameters

  • Translate: Move the center of the shape.
  • Scale: The size of the box.
  • Thickness: The thickness of the bars of the box.
  • UV Mode:
    • None:
    • Bounds XYZ:

Inputs

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