boxFrameSdf

boxFrameSdf

Shortcuts:
  • bfs
Keywords:
  • box
  • cube
  • frame
  • rectangle
  • square
sdf
boxFrameSdf
RayTK
v0.36

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