stepField
field
stepField
RayTK
v0.42
A field that switches between two values at a threshold point.
This can be used to apply one color to the left of some point and another color on the right side of that point. It can also smooth out the transition between the two values.
Parameters
| Name | Description | Regular Handling | Read-Only Handling |
|---|---|---|---|
Enable | |||
Coord Type | |||
| |||
Axis | Semi-Baked | Semi-Baked | |
| |||
Edge | Runtime | Baked | |
Reverse | Semi-Baked | Semi-Baked | |
Enable Blend | Semi-Baked | Semi-Baked | |
Blend | Runtime | Baked | |
Return Type | |||
| |||
Low Value | Value used when below | Runtime | Baked |
High Value | Value used when above | Runtime | Baked |
Contexttype | |||
Inputs
-
Coordinate Field: (optional) Optional field whose value is used instead of coordinates when checking which side of the threshold a point is on.- Coordinate Types:
floatvec2vec3vec4 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4
- Coordinate Types:
-
Edge Field: (optional)- Coordinate Types:
floatvec2vec3vec4 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables From Inputs:
coordField
- Coordinate Types:
-
Low Value Field: (optional)- Coordinate Types:
floatvec2vec3vec4 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4 - Supports Variables From Inputs:
coordFieldedgeField
- Coordinate Types:
-
High Value Field: (optional)- Coordinate Types:
floatvec2vec3vec4 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
floatvec4 - Supports Variables From Inputs:
coordFieldedgeFieldlowValue
- Coordinate Types:
-
Blend Amount Field: (optional)- Coordinate Types:
floatvec2vec3vec4 - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables From Inputs:
coordFieldedgeFieldlowValuehighValue
- Coordinate Types:
-
Blend Function: (optional)- Coordinate Types:
float - Context Types:
ContextMaterialContextCameraContextLightContextRayContextParticleContextVertexContextPixelContext - Return Types:
float - Supports Variables From Inputs:
coordFieldedgeFieldlowValuehighValueblendingField
- Coordinate Types: