A small talk about Cryptomatte
Hey, guys! Hereโs Hermione Granger again.๐
But with my new research.
Usually, when we connect all the necessary Render Passes for our scene, our Render Layers Node looks like this:
Throughout the lessons, we learn to use these sockets to process different passes and merge them into a single image.
However, this is not quite the case when it comes to the Cryptomatte node. To be able to use this node, we do have to activate the Cryptomatte Passes checkbox, but we won't use the Cryptomatte sockets directly in the node tree, because the Cryptomatte node automatically accesses this data, allowing you to select objects, materials, or assets interactively without manual socket connections.
Another difference is that the Cryptomatte node does not require nodes like Mix, Add, Multiply, or Alpha Over to function. It simplifies the workflow by directly isolating and masking the selected objects, materials, or assets. The mask it generates can be connected to the Fac input of other nodes, such as a color correction node or compositor node, for further processing.
If you need to isolate multiple objects or materials, you can use additional Cryptomatte nodes in the same node chain. Each node can process its own selection independently, and their outputs can be combined or fed into the same workflow without additional complexity.
So I think the Cryptomatte sockets in the Render Layers node exist to ensure that the Cryptomatte data is included in the render but are not directly manipulated.
๐These Cryptomatte Passes are used to save individual layers to Multilayer EXR files for later work. For example, if you are going to use a Cryptomatte node to work with a saved image sequence, it will need the data saved from additional layers (such as Object, Material, Asset).
What's more, when you render a scene in Blender and activate Cryptomatte Passes, all data (including Cryptomatte) is automatically saved to an internal buffer. The Cryptomatte Node can retrieve this data directly from this buffer, without the need for an Image socket. Connecting the Image socket is not necessary if you are working with the current renderer and do not use external files (for example, EXR).
Here is an example:๐
That's it, I'm leaving for the weekend. Have a great time, too! ๐
๐UPD:
Cryptomatte node cannot be used in node groups.
Volume Objects are not supported.