gl_mix


  • Where to find it:


    • NodeGraph / Right Mouse Click / Add Nodes / Math / Extension Pack / M /




Description


mix performs a linear interpolation between x and y using a to weight between them. The return value is computed as x×(1−mix)+y×mix.



gl_mix is no different than the layer mix included in Extension Pack. It has been added to the Math Nodes for completion

OpenGl Reference


https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/mix.xhtml

Node Ports


  • X

Specify the start of the range in which to interpolate.


  • Y

Specify the end of the range in which to interpolate.


  • Mix

Specify the value to use to interpolate between x and y.


Node Outputs


  • 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