A vector operator to be used within the visual shader graph.
A visual shader node for use of vector operators. Operates on vector
a and vector
Operator OP_ADD =
Adds two vectors.
Operator OP_SUB =
Subtracts a vector from a vector.
Operator OP_MUL =
Multiplies two vectors.
Operator OP_DIV =
Divides vector by vector.
Operator OP_MOD =
Returns the remainder of the two vectors.
Operator OP_POW =
Returns the value of the first parameter raised to the power of the second, for each component of the vectors.
Operator OP_MAX =
Returns the greater of two values, for each component of the vectors.
Operator OP_MIN =
Returns the lesser of two values, for each component of the vectors.
Operator OP_CROSS =
Calculates the cross product of two vectors.
Operator OP_ATAN2 =
Returns the arc-tangent of the parameters.
Operator OP_REFLECT =
Returns the vector that points in the direction of reflection.
a is incident vector and
b is the normal vector.
Operator OP_STEP =
Vector step operator. Returns
a is smaller than
Operator operator =
The operator to be used. See Operator for options.