Нода «Маска по ID» (ID mask node)

Нода ":abbr:`Маска по ID (ID Mask)`".

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.

См. также

Эта нода заменяется нодой Сryptomatte. «Криптомаска» более универсальна и поддерживается как Cycles, так и EEVEE.

Входы (inputs)

Значение 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 Нода «Рендер-слои» (render layers node).

Свойства (properties)

Индекс (index)

The index for which to create a mask. This index can be configured for objects at Properties ‣ Object ‣ Relations ‣ Pass Index, and for materials at Properties ‣ Material ‣ Settings ‣ Pass Index.

../../../_images/compositing_types_converter_id-mask_relations-panel.png

Индекс прохода объекта.

Сглаживание (anti-aliasing)

Следует ли сглаживать края маски.

Выходы (outputs)

Альфа (alpha)

A grayscale image that’s white where the object exists and black where it does not.

Пример

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 Нода «Смешать» (mix node). The masks for the other Pass Indexes are also shown.

../../../_images/compositing_types_converter_id-mask_example.png

Пример ноды ID Mask.

Ограничения