Nút Chắn Lọc ID (ID Mask Node)¶
The ID Mask Node creates a mask for a particular object or material in the render. It relies on the Object Index or Material Index render pass, which is only available when rendering with Cycles.
Xem thêm
This node is superseded by the Nút Lớp Vẽ Lồng Bí Mật (Cryptomatte Node). Cryptomatte is more versatile and is supported by both Cycles and EEVEE.
Đầu Vào (Inputs)¶
- Giá trị ID (ID Value)
Input for the Object Index or Material Index render pass. Once a pass is enabled, it can be accessed through the IndexOB or IndexMA slot of the Nút Tầng Lớp Kết Xuất (Render Layers Node).
- Chỉ Số (Index)
The index for which to create a mask. This index can be configured for objects at , and for materials at .
Chỉ Số Lượt của đối tượng.¶
- Anti-Aliasing
Whether to smooth the mask edges.
Đầu Ra (Outputs)¶
- Độ Đục (Alpha)
A grayscale image that's white where the object exists and black where it does not.
Ví Dụ (Example)¶
In the example below, the left and right cubes are assigned a Pass Index of 1 and 2 respectively. We extract a mask for the left cube, then use it to turn that cube red with a Nút Hòa Trộn Màu [Mix Color Node]. The masks for the other Pass Indexes are also shown.
Ví dụ về nút Chắn Lọc Id.¶
Những Giới Hạn (Limitations)¶
Không hỗ trợ các Các/những Đối Tượng Thể Tích (Volume Objects).