MetaSL Shader Descriptions

Compositing Shaders

Comp_color_mixer
Sums up an arbitrary number of inputs. Each input has an associated weight and can be enabled or disabled (which equals to setting the parameter's weight to zero).
Comp_color_select
This shader can have any number of inputs. The parameter "selected color" lets the user choose which of the connected inputs will be used.
Comp_matte_div
Divides the foreground color by its alpha channel.
Comp_matte_mult
Multiplies the foreground color by its alpha channel.
Comp_over
Layers the foreground input over the background input, modulating the intensity of the foreground by the value of its alpha channel.
Comp_reorder
Reorders the channels of the foreground color.
Comp_set_alpha
Sets the foreground color's alpha channel.
Comp_switch_matte
Copies the alpha channel from the background to the foreground.