I don't know if it works on imported stuff like trees (I imagine it does), but on a plane at least it does. Displaced the offset of the surface shader here.
EDIT: Tried it on the roof of an imported building, which worked, but on the trunk of a tree it didn't. The painted shader should possibly be set to 3D instead of Y.