Despill in Nuke

heeey,
I discovered this despill technique here in this forum and use it sometimes.
Right now I’m working in nuke and wanted to put this technology together in nuke.
I’m not a nuker at all and wanted to ask if anyone knows how to assemble this technique in nuke.

1 Like

I don´t know if there is an specifical node to separate channels a la “mono” node, but you can separate channels with shuffle node. Merge for Comp node and shuffle again to recombine.

2 Likes

I have never used this setup, i kinda get what this is doing but keep in mind that

  1. nuke blend modes are not the same math

  2. nuke uses a linear working space so some math works different,

There are 1 billion ways to remove spill in nuke though pxf killspill comes to mind

1 Like

You can also use Nuke expression node with g>(r+b)/2?(r+b)/2:g expression in green channel.

4 Likes

One correction, to get precisely what your Flame setup do you need to place

r>g?r:g

in the red channel and

b<g?g:b

and leave the green channel untouched

2 Likes

I’ll try that, thank you very much!

1 Like

Ye gads look at it what it does to the skintones though. You’re in the Land of the Magenta People! I would use that only for the edges if possible…

1 Like

While expressions like this are cool, Nuke has some keyers that are excellent at spill suppression. In particularly Keylight will usually do a nice job out of the box and you can dial it in further through the UI in both color and strength.

So I would consider putting an instance of Keylight on it, sample the green, and then comp that onto the original with either an edge matte, or one of the existing matte channels. So you’re not using it as your keyer, you’re just using to it as spill suppressor.

There is also a very well regarded kill spill gizmo worth looking into (https://www.nukepedia.com/gizmos/keyer/despillmadness)

1 Like

I too am a sucker for keylight despill :rofl: it just works really well for most things.

4 Likes

Check out @Ashby AFX_Despill matchbox in the Logik matchbox collection!

3 Likes

I normally use Master Keyer Front CC output as a quick despill, but just tried this rig and it works very well. A little cleaner in places. For the edges only of course. Thanks Fabian!

1 Like