These shaders are currently not available in Maya! Please use built-in Maya math shaders.
Redshift supports a wide variety of commonly used math operation shaders for both scalar (float) values and vectors. All math nodes that process float values are listed here:
Returns the absolute value of Input. For example, a value of -1.0 will be returned as 1.0.
Returns Input 1 + Input 2.
Returns the arc-cosine of Input. When Radians is selected, the output range will be between 0 and PI, otherwise 0 and 180 degrees.
Returns the arc-sine of Input. When Radians is selected, the output range will be between -PI/2 and PI/2, otherwise -90 and 90 degrees.
Returns the arc-tangent of Input 1 and Input 2. When Radians is selected, the output range will be between -PI/2 and PI/2, otherwise -90 and 90 degrees.
Returns the arc-tangent of Input. When Radians is selected, the output range will be between -PI/2 and PI/2, otherwise -90 and 90 degrees.
Returns a curved bias of Input by Bias, using the following Ken Perlin formula: pow(Input, log(Bias)/log(0.5))
Returns Input remapped from Old Range values to New Range values, with an optional clamp.
Returns the cosine of Input. When Radians is selected, the input will be assumed to be in radians, otherwise degrees.
Returns Input 1 / Input 2.
Returns the exponential of Input, using the following formula: e^ Input
This is the inverse function of Ln.
Returns the integer part of Input. For example, 1.5 will be returned as 1.0.
Returns the fractional part of Input. For example, 1.5 will be returned as 0.5.
Returns a contrast gain of Input by Gain, using the following Ken Perlin formula:
Bias( 2 * Input, 1 - Gain ) * 0.5 ; if Input < 0.5
1 - Bias( 2 - 2 * Input, 1 - Gain ) * 0.5 ; otherwise
Returns the 1 - Input.
Returns the natural logarithm (to base e) of Input.
This is the inverse function of Exp.
Returns the logarithm of Input to Base.
This is the inverse function of Pow.
Returns the maximum of Input 1 and Input 2.
Returns the minimum of Input 1 and Input 2.
Returns Input 1 linearly interpolated to Input 2 by Mix. When Mix is 0.0, Input 1 will be returned. When Mix is 1.0, Input 2 will be returned.
Returns the modulo of Input by Divisor. For example 7 modulo 5 will be returned as 2.
This is the remainder of Input / Divisor.
Returns Input 1 * Input 2.
Returns 0 - Input.
Returns Base^ Exponent.
This is the inverse function of Log.
Returns 1 / Input.
Returns Input clamped to values between 0 and 1, inclusively. For example -1.5 will be returned as 0.0 and 1.5 will be returned as 1.0.
Returns -1 if Input is a negavitve number and 1 otherwise.
Returns the sine of Input. When Radians is selected, the input will be assumed to be in radians, otherwise degrees.
Returns the square-root of Input.
Returns Input 1 - Input 2.
Returns the tangent of Input. When Radians is selected, the input will be assumed to be in radians, otherwise degrees.