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:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Coordinate Types:
-
Edge 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:
coordField
- Coordinate Types:
-
Low Value Field
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Supports Variables From Inputs:
coordField
edgeField
- Coordinate Types:
-
High Value Field
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Supports Variables From Inputs:
coordField
edgeField
lowValue
- Coordinate Types:
-
Blend Amount 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:
coordField
edgeField
lowValue
highValue
- Coordinate Types:
-
Blend Function
: (optional)- Coordinate Types:
float
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
coordField
edgeField
lowValue
highValue
blendingField
- Coordinate Types: