slice
filter
slice
RayTK
v0.42
Takes a slice of an SDF along an axis, either removing it or everything except it.
Parameters
| Name | Description | Regular Handling | Read-Only Handling |
|---|---|---|---|
Enable | |||
Axis | The axis along which to take the slice. | Runtime | Semi-Baked |
| |||
Offset | Shifts the center position of the slice along the axis. | Runtime | Baked |
Thickness | Thickness of the slice. | Runtime | 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 |
Enable Mirror | When enabled, a second slice is added, mirrored across the origin along the axis. | Runtime | Semi-Baked |
Operation | Semi-Baked | Semi-Baked | |
| |||
Inputs
-
SDF: (required)- Coordinate Types:
vec2vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
Sdf
- Coordinate Types:
-
Offset Field: (optional)- Coordinate Types:
vec2vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables From Inputs:
inputOp1
- Coordinate Types:
-
Thickness Field: (optional)- Coordinate Types:
vec2vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables From Inputs:
inputOp1offsetField
- Coordinate Types: