extrude

extrude

Shortcuts:
  • ext

Creates a 3D SDF by extruding a 2D SDF along along an axis.

Parameters

  • Axis:
    • X:
    • Y:
    • Z:
  • Infinite Height: Whether the shape should be infinitely thick along the axis.
  • Height: Height of the extruded shape.
  • Offset: Moves the extruded shape up and down along the axis.
  • UV Mode:
    • Flat:
    • Depth:
  • Iteration Type:
    • None:
    • Ratio:
  • Optimize:

Inputs

  • Cross-Section SDF: (required) The 2D shape that is extruded along the axis.
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: Sdf
  • Height Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • Offset Field: (optional)
    • Coordinate Types: vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float

Variables

  • axispos:
  • normoffset: