RPR_MATERIAL_NODE_BLEND
Usage
Blends two shaders based on a weight. The output is color0
* weight
+ (1 - weight
) * color1
.
Parameters
Input |
Name |
Type and Range |
Brief Explanation |
---|---|---|---|
RPR_MATERIAL_INPUT_COLOR0 |
|
Shader |
Shader 1. |
RPR_MATERIAL_INPUT_COLOR1 |
|
Shader |
Shader 2. |
RPR_MATERIAL_INPUT_WEIGHT |
|
Float 0-1 |
Weight of blend. |
RPR_MATERIAL_INPUT_TRANSMISSION_COLOR |
|
Color |
Transmission color between сolor0 and сolor1. |
RPR_MATERIAL_INPUT_THICKNESS |
|
Float |
Thickness of transmission layer between color0 and color1. |
Notes
For texture nodes, use RPR_MATERIAL_NODE_BLEND_VALUE.