Category: mental ray > Texture
This shader accepts a base color and up to 8 inputs (the exact number is determined by the num parameter), each of which consists of an input color, a weight scalar, and a mode. The inputs are evaluated in sequence, each operating on the result of the previous one (the first begins with the base color, which defaults to transparent black).
The following modes are supported:
Subscripts r, g, b, and a are the red, green, blue, and alpha components.
Note that mode 6 does not ensure that the resulting alpha value is valid; that is, not less than red, green, or blue. mental ray corrects the alpha when storing the color in the frame buffer unless premultiplication is turned off.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License