octahedronSdf

octahedronSdf

Keywords:
  • octahedron
  • polyhedron
sdf
octahedronSdf
RayTK
v0.40

An octahedron, with its corners facing the axes.

Parameters

Name Description Regular Handling Read-Only Handling
Translate

Shifts the center of the shape.

Runtime Baked
Radius

The size of the shape.

Runtime Baked
Function

Advanced parameter that chooses between different types of calculations.

Runtime Semi-Baked
  • Exact: Provides more accuracy but can produce roughness around the edges.
  • Bound (Not Exact): Less accurate but less rough around the edges.

Inputs

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