kink
filter
kink
RayTK
v0.42
Bends space, similar to the bend.
The bending that this operator applies is slightly different than the bend operator, and is asymmetrical, causing a tighter bend on one side based on the bend amount and direction.
Based on Bending an SDF by blackle.
Parameters
| Name | Description | Regular Handling | Read-Only Handling |
|---|---|---|---|
Enable | |||
Direction | Which axis to bend around on which plane. | Semi-Baked | Semi-Baked |
| |||
Side | Which side to bend towards. | Semi-Baked | Semi-Baked |
| |||
Amount | Amount of bending. | Runtime | Baked |
Offset | Position along the | Runtime | Baked |
Spread | Range over which the bending is spread. Higher values mean a more gradual bend. | Runtime | Baked |
Inputs
-
definition_in: (optional)- Coordinate Types:
floatvec2vec3vec4 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4SdfVolumeRayLightParticle - Supports Variables From Inputs:
amountFieldoffsetFieldspreadField
- Coordinate Types:
-
Amount Field: (optional)- Coordinate Types:
floatvec2vec3vec4 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float
- Coordinate Types:
-
Offset Field: (optional)- Coordinate Types:
floatvec2vec3vec4 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables From Inputs:
amountField
- Coordinate Types:
-
Spread Field: (optional)- Coordinate Types:
floatvec2vec3vec4 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables From Inputs:
amountFieldoffsetField
- Coordinate Types: