Despill to Color v4.4

This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Johannes Masanz
- pick screen color - set target color
12.0, 11.3, 9.0 or later
Linux, Mac, Windows
08 Aug 2021


Demo video:

If you are trying to fix an objects edge, by bringing back its original color, then this tool is perfect for you! DespillToColor is designed to work best with a specific user defined screen color and therefore a good local solution for certain areas of your plate.

- pick a blue- / greenscreen color - set or pick a target color.

- 'balance' controls how much red tones are being affected by the despill operation opposed to blue and green tones.

- Increasing the 'gain' will affect a wider range of colors, like the finetune knob in DespillMadness.

- 'erode' and 'falloff' sometimes work well for increasing the effect in defocussed areas. I usually go for ramping up the 'gain' OR the 'erode', rarely both.


Gizmo vs Group

For the sake of quickly trying this tool I uploaded it as a group node. Just download and drag and drop it into your node graph.

If you decide to use DespillToColor more often I recommend converting the group into a gizmo. Unlike a group that is loaded from the toolsets a gizmo will always automatically show its controlls in the properties panel on creation. How to create a gizmo >


Example pics: (For testing I recommend blurring these jpegs a little to get rid of compression artefacts.)


Updates in V. 4.2:

Despill gain below 1 now working more like expected (sticks with the defined target colour).

V. 4.4:

Added option to despill red tones. Reduced file size and node count inside the group.


Please login in order to download these files.


+1 # Lucas Pfaff 2017-02-07 13:55

it looks nice but somehow it doesn't work for me out of the box. It seems that the gamma-falloff Grade nodes don't work as anticipated, the alpha doesn't work as mask (even if I turn off Black clip). Disabling them or using one of the colour channels as mask for despillColor-Gr ade makes it work.

But also, my screen only gets greener; enabling "Reverse" on the despillColor then makes it work at it seems it should :o
0 # Johannes Masanz 2017-02-07 20:08
ooops :) i never tested it with green screen since i created the gizmo.that should work now. thanks for the comment!
0 # Lucas Pfaff 2017-02-08 14:21
Hi Johannes,

haha, when I checked it out I had no bluescreen at hand :)
Works like a charm now. I actually just put it to some good use in a comp! :)

0 # Johannes Masanz 2017-02-10 07:57
Thank you! Thats great to hear :)
I think the latest version is pretty solid now. Let me know if there is anything left to be improved / added.
0 # selvam B 2017-02-16 06:05
Why am I getting error "Knob despillGamma disable is of an unknown type 80"?
0 # Johannes Masanz 2017-02-16 08:08
Hey, which Nuke version are you on? Other than that the node is working?

You could right click and go to "manage user knobs", then delete that knob, choose "pick" and grab that knob anew from the "despillGamma" node. Let me know if you need a more detailed description.
0 # selvam B 2017-02-17 09:25
Nuke version 7.0.v8 & thanks i will try that....
0 # Johannes Masanz 2017-02-17 15:29
Today I rearanged the falloff knobs a bit for better usability. The latest version should work for you. :)
0 # Tilman Paulin 2017-02-27 11:04
I really like this despill! Thanks for your work on this and for sharing it, Johannes! :)
0 # Johannes Masanz 2017-02-27 20:23
Thanks for the positive feedback :) - made my monday morning!
0 # satheesh R 2017-07-31 06:20
This tool looks promising Johannes, Really appreciated your effort to avail for public use.
some suggestion:
1. Replace 'ErodeNode' with some other expressions. I really like the 'Keylight' erode option. it works 0.1 aswell.

2. Looking for 'protect tones' future in next update. Check adrian's apDespill for ref.
0 # Johannes Masanz 2017-07-31 19:55
Thanks for the suggestions! I will have a look if there is a better way to do the erode.

AP Despill is a great tool!
I will consider including a similar feature but maybe I prefer to keep it simple ; ) I really like to use despillToColor more often in one comp and tweak every instance so that it works well with a certain area / color / object (on top of an other, general despill). A little fix here, a little fix there ... thats why it is meant to be light and quickly tweaked.
0 # Will Marker 2020-01-20 20:38
just wanted to say thank you! been using it for a couple years now and its a great tool for despill.
0 # Dain Paras 2020-11-11 18:20

Is there a way to show this in TOOLS like a gizmo rather than drag and dropping it?

0 # Johannes Masanz 2020-11-11 21:32
Hi Dain,
the quickest way is to save it in your toolsets. (using the wrench icon on the left side toolbar.)

Also have a look at this tutorial -
- that explains how to convert a group into a gizmo.

You have no rights to post comments

We have 3647 guests and 82 members online