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:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
Sdf
- Supports Variables:
axispos
normoffset
- Coordinate Types:
-
Height Field
: (optional)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables:
axispos
- Coordinate Types:
-
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
- Coordinate Types:
Variables
-
Position Along Axis
: -
Normalized Offset
: