knife
Keywords:
- crop
- knife
- slice
filter
knife
RayTK
v0.42
Cuts off an SDF along a plane.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Enable | |||
Keep Side | Which side of the cut to keep. | Runtime | Semi-Baked |
| |||
Offset | Shifts the cut plane along the axis that it faces. | Runtime | Baked |
Rotate Plane | Rotate the cut plane in XYZ. When in 2D, only the Z rotation is used. | Runtime | Baked |
Direction | Runtime | Semi-Baked | |
| |||
Enable Smoothing | Whether to smooth the transition on each side of the slice down to a size of zero. | Runtime | Semi-Baked |
Smooth Radius | The amount of smoothing distance. | Runtime | Baked |
Inputs
-
definition_in
: (required)- Coordinate Types:
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
Sdf
- Coordinate Types:
-
Offset Field
: (optional)- Coordinate Types:
float
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
inputOp1
- Coordinate Types: