TheVRayDistanceTexis a V-Ray specific procedural texture that returns a different color based on a point's distance to an object(s) specified in a selection list.
UI Text Box
type
info
VRayDistanceTex can be used as a Ramp node's mapping source by plugging it's R channel to the Ramp's U/V slots.