ID遮罩节点

    ID遮罩节点。

    ID遮罩节点 用于获取每个对象或每个材质的alpha遮罩。

    ID Value

    对象索引材质索引 渲染通道提供输入。其是 或带有多层格式的 图像节点

    选择预先指定的编号。

    抗锯齿

    This post-processing filter smooths the mask edges. See .

    Alpha(通道)

    An index can be specify for any object or material in the scene. The Object Index can be set in Properties ‣ Object Properties ‣ Relations ‣ Pass Index and Material ‣ Settings ‣ Pass Index for the Material Index. To be accessible after rendering, Object Index or Material Index render pass has to be enabled.

    对象通道编号。

    在这个范例中,左侧鲜红色矩形物体指定为编号1,右侧的矩形物体指定为编号2.当两个物体有相互交叉,可以从像素排列看出来,因为在一起的交叠部分有个尖锐的角度,颜色也不相同。在物体1上使用遮罩,在其表面有平滑(抗锯齿)的边缘,这是因为改善了使视觉看着不舒服的线条,使其平滑显示。

    ID遮罩节点范例。