kink

kink

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
  • Along X Toward Y: Bends along the X axis, in the Y direction
  • Along X Toward Z: Bends along the X axis, in the Z direction
  • Along Y Toward X: Bends along the Y axis, in the X direction
  • Along Y Toward Z: Bends along the Y axis, in the Z direction
  • Along Z Toward X: Bends along the Z axis, in the X direction
  • Along Z Toward Y: Bends along the Z axis, in the Y direction
Side

Which side to bend towards.

Semi-Baked Semi-Baked
  • Negative:
  • Positive:
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
  • Amount Field: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
  • 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
  • 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