extrude
Shortcuts:
- ext
convert
extrude
RayTK
v0.42
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 | |
| |||
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 | |
| |||
Iteration Type | Semi-Baked | Semi-Baked | |
| |||
Optimize | |||
Inputs
-
Cross-Section SDF: (required) The 2D shape that is extruded along the axis.- Coordinate Types:
vec2 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
Sdf - Supports Variables:
axisposnormoffset
- Coordinate Types:
-
Height Field: (optional)- Coordinate Types:
vec2vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables:
axispos
- Coordinate Types:
-
Offset Field: (optional)- Coordinate Types:
vec2vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables:
axispos - Supports Variables From Inputs:
heightField
- Coordinate Types:
Variables
-
Position Along Axis: -
Normalized Offset: