dirt materials

Is it possible to get the dirt feature to work with proximity? So say you want dirt to appear on a wall but just close to an object or floor?
Was this page helpful?