extrude

extrude

Shortcuts:
  • ext

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

Parameters

Name Description Regular Handling Read-Only Handling
Axis Semi-Baked Semi-Baked
  • X:
  • Y:
  • Z:
Infinite Height

Whether the shape should be infinitely thick along the axis.

Semi-Baked Semi-Baked
Height

Height of the extruded shape.

Runtime Baked
Offset

Moves the extruded shape up and down along the axis.

Runtime Baked
UV Mode Semi-Baked Semi-Baked
  • Flat:
  • Depth:
Iteration Type Semi-Baked Semi-Baked
  • 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 VertexContext PixelContext
    • Return Types: Sdf
    • Supports Variables: axispos normoffset
  • Height Field: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables: axispos
  • Offset Field: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables: axispos
    • Supports Variables From Inputs: heightField

Variables

  • Position Along Axis:
  • Normalized Offset: