chamferBoxSdf

chamferBoxSdf

Keywords:
  • box
  • chamfer
  • cube

A box with cropped corners at 45 degree angles.

Based on ChamferBox Super Primitive by TLC123

Parameters

Name Description Regular Handling Read-Only Handling
Translate Runtime Baked
Scale Runtime Baked
Uniform Scale Runtime Baked
Chamfer

Width of cropping on edges/corners.

Runtime Baked
Round

Rounding that smooths out the edges of the crops.

Runtime Baked

Inputs

  • Scale Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4
  • Chamfer Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables From Inputs: scaleField
  • Rounding Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables From Inputs: scaleField chamferField