bend
filter
bend
RayTK
v0.42
Bends space, along a main axis, towards a second axis.
For example, bends sideways (towards X) depending on the vertical position (along Y).
Parameters
| Name | Description | Regular Handling | Read-Only Handling |
|---|---|---|---|
Enable | |||
Direction | Chooses the axis to bend along and the axis to bend towards. | Semi-Baked | Semi-Baked |
| |||
Amount | Amount of bending. | Runtime | Baked |
Shift | Shifts the axis to bend along and the axis to bend towards. | Runtime | Baked |
Side | Semi-Baked | Semi-Baked | |
| |||
Inputs
-
Input: (optional)- Coordinate Types:
vec2vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4SdfVolumeRayLightParticle - Supports Variables:
axisposbendpos - Supports Variables From Inputs:
definition_in_2
- Coordinate Types:
-
Bend Field: (optional) Value field that determines how much to bend. If this accepts 1D coords, it is passed the position along the bend axis. For 2D coords, both the bend axis and the bend direction are passed. For 3D coords, the relative XYZ position is passed.- Coordinate Types:
floatvec2vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatSdf - Supports Variables:
axisposbendpos
- Coordinate Types:
-
Shift Field: (optional)- Coordinate Types:
floatvec2vec3 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatSdf - Supports Variables:
axisposbendpos - Supports Variables From Inputs:
bendField
- Coordinate Types:
Variables
-
Position Along Axis: -
Position On Bend Axis:
Images