Object fade in based on vertex color

Hello evvvveryone,
I want to share this simple shader wich fade the visibility of a mesh using its vertex color as reference.

It’s very simple, create a mesh with vertex color and a threshold based on the red channel will decide if that pixel is renderized or not.

There’s also an option to fade the border.

https://vvvv.org/sites/default/files/imagecache/large/images/vertexFade.JPG

vertexColorFadeIn.zip (7.5 kB)