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:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
Sdf
Volume
Ray
Light
Particle
- Supports Variables From Inputs:
amountField
offsetField
spreadField
- Coordinate Types:
-
Amount Field
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Coordinate Types:
-
Offset Field
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
amountField
- Coordinate Types:
-
Spread Field
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
amountField
offsetField
- Coordinate Types: