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

color0

Shader

Shader 1.

RPR_MATERIAL_INPUT_COLOR1

color1

Shader

Shader 2.

RPR_MATERIAL_INPUT_WEIGHT

weight

Float 0-1

Weight of blend.

RPR_MATERIAL_INPUT_TRANSMISSION_COLOR

transmission.color

Color

Transmission color between сolor0 and сolor1.

RPR_MATERIAL_INPUT_THICKNESS

thickness

Float

Thickness of transmission layer between color0 and color1.

Notes

For texture nodes, use RPR_MATERIAL_NODE_BLEND_VALUE.