this has actually nothing to do with ShadeC, but with normal interpolation.
Slin has an article about that on his blog, search for it wink