合并/分离着色器节点

所有这些节点基本上都是一样的:

  • 分离:从复合颜色通道将图像拆分出来。

  • 合并:将复合颜色通道的图像重新组合。

These nodes can be used to manipulate each color channel independently. Each type is differentiated in the applied Color Space.

In compositing and texture context each node supports the Alpha channel. In the texture context only RGB color space is available. In the shading context of Cycles combine and separate nodes are added for HSV and vectors (XYZ).

The Combine nodes can also be used to input single color values. For RGBA and HSVA color spaces it is recommended to use the RGB节点. Some common operations could easier be executed with the 颜色类节点.

合并/分离 RGBA着色器节点

../../../../_images/compositing_node-types_CompositorNodeCombRGBA.png

合并 RGBA 节点。

../../../../_images/compositing_node-types_CompositorNodeSepRGBA.png

分离 RGBA 节点。

输入 / 输出选项

图像

标准图像输入 / 输出。

  • R (红色)

  • G (绿色)

  • B (蓝色)

  • A (Alpha)

属性

该节点没有属性选项。

举例

../../../../_images/compositing_types_converter_combine-separate_example-combine-rgba.png

模糊Alpha通道示例效果。

In this first example, we take the Alpha channel and blur it, and then combine it back with the colors. When placed in a scene, the edges of it will blend in, instead of having a hard edge. This is almost like Anti-Aliasing but in a three-dimensional sense. Use this node setup, when adding CG elements to live action to remove any hard edges. Animating this effect on a broader scale will make the object appear to “phase” in and out, as an “out-of-phase” time-traveling sync effect.

分离 / 合并 HSVA 节点

../../../../_images/compositing_node-types_CompositorNodeCombHSVA.png

合并 HSVA 节点。

../../../../_images/compositing_node-types_CompositorNodeSepHSVA.png

分离 HSVA 节点。

输入 / 输出选项

图像

标准图像输入 / 输出。

  • H (色相)

  • S (饱和度)

  • V (值)

  • A (Alpha)

属性

该节点没有属性选项。

分离 / 合并 YUVA 节点

../../../../_images/compositing_node-types_CompositorNodeCombYUVA.png

合并 YUVA 节点。

../../../../_images/compositing_node-types_CompositorNodeSepYUVA.png

分离 YUVA 节点。

输入 / 输出选项

图像

标准图像输入 / 输出。

  • Y (亮度)

  • U (U 亮度)

  • V (V 亮度)

  • A (Alpha)

属性

该节点没有属性选项。

分离 / 合并 YCbCrA 节点

../../../../_images/compositing_node-types_CompositorNodeCombYCCA.png

合并 YCbCrA 节点。

../../../../_images/compositing_node-types_CompositorNodeSepYCCA.png

分离 YCbCrA 节点。

输入 / 输出选项

图像

标准图像输入 / 输出。

  • Y (亮度)

  • Cb (色度蓝)

  • Cr (色度红)

  • A (Alpha)

属性

模式

ITU 601, ITU 709, Jpeg

举例

../../../../_images/compositing_types_converter_math_multiply.png

缩放亮度通道的示例效果。

上例具有 相加(正片叠底) 节点,增加图像的亮度通道 (Y) 以使其更亮。

Tip

如果通过 颜色渐变 节点运行这些通道来调整,可使用深红色进行精确显示。在亮度通道上使用指数刻度可以产生高对比度效果。