
stepField
field
stepField
RayTK
v0.36
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
-
Enable
: -
Coord Type
:-
Auto
: -
1D
: -
2D
: -
3D
:
-
-
Axis
:-
X
: -
Y
: -
Z
: -
Distance From Origin
:
-
-
Edge
: -
Reverse
: -
Enable Blend
: -
Blend
: -
Return Type
:-
Float
: -
Vector
:
-
-
Low Value
: Value used when below `Edge` -
High Value
: Value used when above `Edge` -
:
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
- Return Types:
float
vec4
- Coordinate Types:
-
Edge Field
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types:
-
Low Value Field
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
vec4
- Coordinate Types:
-
High Value Field
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
vec4
- Coordinate Types:
-
Blend Function
: (optional)- Coordinate Types:
float
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
- Return Types:
float
- Coordinate Types: