I have a bit of a problem : Now, why am I trying to do this : I was thinking "hey, if I could interpolate texture based on the relative height of the surface textured compared to the height of the object, I could make objects such as trees and rocks dark on their basis and ligh on their tip, only I could use two textures…
Subtract the object world position rather than one minus and add. Don't know how object radius is calculated. Remember that UDK uses some gamma correction processing which will delinearise your gradients.