|
gl_step |
Where to find it:
NodeGraph / Right Mouse Click / Add Nodes / Math / Extension Pack / S /
step generates a step function by comparing x to edge.
For element i of the return value, 0.0 is returned if x[i] < edge[i], and 1.0 is returned otherwise.
https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/step.xhtml
•Edge
Specifies the location of the edge of the step function.
•X
Specify the value to be used to generate the step function.
•Output RGB
Separate computation for Input Channels Red, Green, Blue with an Alpha Channel of 1.0
•R
Computation for Input Red channel only, saved into R, G and B channel with an Alpha of 1.0
•G
Computation for Input Green channel only, saved into R, G and B channel with an Alpha of 1.0
•B
Computation for Input Blue channel only, saved into R, G and B channel with an Alpha of 1.0
•A
Computation for Input Alpha channel only, saved into R, G and B channel with an Alpha of 1.0