通道¶
通道可将渲染图像分为颜色,直接光和间接光来分别编辑它们,以及提取深度或法线等数据。
Cycles¶
参考
- 面板
通道可将渲染图像分为颜色,直接光和间接光来分别编辑它们,以及提取深度或法线等数据。
Data¶
- Z
- 与任何可见表面的距离。 - Note - Z仅使用一采样次数。如果在运动模糊或 景深 的情况下需要混合深度值,请使用雾场。 
- 雾场
- Distance to visible surfaces, mapped to the 0.0 - 1.0 range. When enabled, settings are in World tab. This pass can be used in compositing to fade out objects that are farther away. 
- 法线(正常)
- 用于着色的表面法线。 
- 矢量
- 用于矢量模糊结点的运动矢量。其四个分量由在像素空间内朝向前一帧和后一帧位置的二维矢量组成。 
- UV
- Mapped UV coordinates, used to represent where on a mesh a texture gets mapped too. This is represented through the red and green channels of the image. The blue channel is encoded with a constant value of 1 but does not hold any information. 
- 物体编号
- 创建物体的遮罩,稍后可以由合成器中的 ID遮罩节点 读取。 
- 材质编号
- 创建材质的蒙版,稍后可以通过合成器中的 ID蒙版节点 读取该蒙版。 
- 降噪数据
- 降噪器所需的通道,用于在渲染整个动画后在第二遍中执行动画降噪。对于静态图像,降噪作为渲染过程的一部分,这些不是必需的。 
- Render Time
- Render time in milliseconds per sample and pixel. 
- Sample Count
- Number of samples/camera rays per pixel. 
Note
Z、对象编号和材料编号通道不消除锯齿。
- Alpha 阀值
- Z通道、索引通道、法线通道、UV通道以及向量通道在表面的alpha透明值等于或者大于该阀值的时候才受影响。该值为0.0的时候,首次被光线碰到的表面会立即写入这些通道而不管透明度如何。 如果存在更高的值的透明表面会在遇到不透明的表面的时候跳过写入。 
Light¶
- 合成结果
- 包含所有渲染通道的最终合成的渲染通道。 
- 噪音图像
- 如果启用了降噪,则在降躁之前传递原始合成结果。 
- 直接漫射光
- Direct lighting from diffuse and subsurface BSDFs. We define direct lighting as coming from lights, emitting surfaces, the background, or ambient occlusion after a single reflection or transmission off a surface. BSDF color is not included in this pass. 
- 间接漫射光
- Indirect lighting from diffuse and subsurface BSDFs. We define indirect lighting as coming from lights, emitting surfaces or the background after more than one reflection or transmission off a surface. BSDF color is not included in this pass. 
- 漫射光颜色
- Color weights of diffuse and subsurface BSDFs. These weights are the color input socket for BSDF nodes, modified by any Mix and Add Shader nodes. 
- 直接光泽,间接光泽,光泽颜色
- 同上,而这是针对光泽BSDF。 
- 直接透射光,间接透射光,透射光颜色
- 同上,这是针对透射BSDF。 
- 自发光(发射)
- 直接从可见表面发出的光。 
- 环境
- 直接来自可见背景的光。当胶片设置为透明时,可以使用它来获取环境颜色并将其合成回来。 
- 阴影
- Shadows from light objects. Mostly useful for compositing objects with shadows into existing footage. 
- 环境光遮蔽(AO)
- 来自直接可见表面的环境光遮蔽。它不含BSDF颜色或AO系数,换句话说,它给出介于0到1 “归一化” 数值值。 
Note
注意, 透明BSDF需要单独对待 ,完全透明的表面被视作没有任何表面存在。半透明表面被视作仅有部分光线能够穿过。也就是说,它并未包含在透射通道中,这样,可以使用折射率为1.0的玻璃BSDF。
Cryptomatte¶
Cryptomatte是一种有效创建合成遮罩的标准。Cycles输出所需的渲染通道,然后可以在Blender合成器或具备Cryptomatte支持的其他合成器中使用它来为指定物体创建遮罩。
与材质编号和对象编号通道不同,要在合成中选择要隔离的物品,并且遮罩将消除锯齿并考虑运动模糊和透明度等效果。
- 物体
- 渲染Cryptomatte材质通道,用于在合成中孤立物体。 
- 材质
- 渲染Cryptomatte材质通道,用于在合成中孤立材质。 
- 资产
- Render cryptomatte asset pass, for isolating groups of objects with the same parent in compositing. 
- 层级
- 设置每个像素可以区分多少个唯一对象。 
- 精确模式
- 生成更准确的Cryptomatte传递。对于CPU渲染,可能渲染较慢并使用更多内存。 
典型工作流程¶
- 在通道面板中启用Cryptomatte物体渲染通道,然后渲染。 
- 在合成节点中,创建一个Cryptomatte节点,并将之与匹配图形和Cryptomatte通道的渲染层相连。 
- 将预览器节点添加到Cryptomatte节点的拾取输出。 
- 使用Cryptomatte“添加/移除”按钮对拾取预览器节点中的对象进行采样。 
- 使用Cryptomatte节点的蒙版输出来获取Alpha遮罩。 
See also
着色AOV¶
着色AOV(任意输出变量)为任意着色器节点组件提供自定义渲染通道。作为艺术家,这可能是一个很好的调试或调整一个场景在后期处理非常精细的细节的方法。要使用着色AOV,先在 着色AOV 面板创建通道,然后使用 AOV输出 着色节点引用此通道。可以在 着色AOV 面板中添加或删除着色AOV。在此面板中是所有AOV通道的列表;列表中的每个 AOV 由 名称 和 数据类型 组成。
- 名称
- 渲染通道的名称;这是 AOV 输出 节点中引用的 名称。可为这些通道命名为任意名称,只要它们不与启用的内置通道冲突即可。 
- 数据类型
- 着色AOV可以表示 颜色 或 数值 变量。顾名思义, 颜色 变量可用于颜色,但也可以用于正常值。 数值 变量可用于任何单个数值。 
Eevee¶
参考
- 面板
Passes can be used to split rendered images into colors and light to edit them individually, and also to extract data such as depth or normals.
照明通道¶
- 合成结果
- 包含所有渲染通道的最终合成的渲染通道。 
- Diffuse Light
- Direct lighting from diffuse BSDFs. We define lighting as coming from lights, the background, or ambient occlusion off a surface. BSDF color is not included in this pass. 
- 漫射光颜色
- 漫射BSDF的Color weights(色重值)。这些值供BSDF节点的颜色输入接口使用。可通过 Mix(混合)以及Add(添加)着色器结点进行修改。 
- Specular Light, Color
- Same as above, but for specular BSDFs. 
- 自发光(发射)
- 直接从可见表面发出的光。 
- 环境
- 直接来自可见背景的光。当胶片设置为透明时,可以使用它来获取环境颜色并将其合成回来。 
- 阴影
- 来自灯光物体的阴影。对于将阴影合成到现有素材中非常有用。 
- 环境光遮蔽(AO)
- 来自直接可见表面的环境光遮蔽。它不含BSDF颜色或AO系数,换句话说,它给出介于0到1 “归一化” 数值值。 
- Volume Transmittance
- The transmittance pass from volume objects or world. 
- Volume Scattering
- The scattering pass from volume objects or world. 
数据通道¶
- Z
- 与任何可见表面的距离。 
- 雾场
- 到可见曲面的距离,映射至0.0 - 1.0范围。 
- 法线(正常)
- 用于着色的表面法线。 
Effect Passes¶
- Bloom
- The influence of the Bloom effect. 
合成¶
The passes can be combined to produce the final image as follows:
Note
Limitations:
- Alpha blended materials are not rendered in render passes except the combined pass. Use the Alpha Clip or Alpha Hashed as Blending Mode to render transparent materials in render passes. 
- Depth of field is not rendered in render passes except the combined pass. It is possible to add the depth of field back in the Compositor using the Defocus node.