Home · Lab · CG Multipass & Relighting

CG2 Isolate with Cryptomatte

Pick the visor in the right layer and push it 1 stop, touching nothing else

CG Multipass & Relighting · ~7 min · In pack $15

1 Your mission

~7 min

make the visor exactly 1 stop brighter and touch nothing else, not even the antenna tips that share the visor’s material.

Pick the visor with each matte source in turn and watch the two readouts: the matte vs the visor’s coverage (brightness-weighted), and the antenna tips in the matte. Both need to be close to zero. Check the edge in the zoom too.

SkyVFX Lab · CG2interactive · 1001

2 Why it works

Cryptomatte stores several IDs in each pixel, each with how much of that pixel it covers, so the matte comes out anti-aliased. An ID pass with one ID per pixel can only answer yes or no. The visor is about 129 pixels, and 47% of the pixels it touches are partly covered edges.

Click the robot or the head zoom to pick an ID, then switch the matte source between “ID pass (1 ID per pixel)”, “Crypto: material” and “Crypto: object”. Show “matte (red)” to see the matte, and watch two readouts: the matte vs the visor’s coverage (an error weighted by brightness), and the antenna tips in the matte.

matte = Σ coverage where ID = pick (over the ranks)

Where the numbers come from: Every picture is a Blender 5.2 Cycles render of our own desert and robot, computed in your browser. The coverage is Blender’s real Cryptomatte (object and material layers, 3 ranks shipped). The IDs are renumbered to small integers so they fit float16; the names come from Blender’s manifest. The one-ID-per-pixel matte is built from rank 0 only, to show what an aliased ID pass does. The decode is a teaching version, the same idea as Nuke’s Cryptomatte node.