Wiki

Clone wiki

alShaders / alCombine

Table of Contents

Overview

alCombine allows you to combine two inputs in various ways. It comes in two variants: alCombineFloat and alCombineColor depending on the type of inputs you want to combine. Note that the use of "Color" here is a bit loose: it will accept any vector type, which can be useful for doing basic vector math operations in your shader networks.

Parameters

Input 1
The first input to combine
Input 2
The second input to combine
Input 3
Optional third input for certain operations (e.g. "lerp")
Operation
The operation to apply to the inputs

Updated