Darken terrain material around spawned foilage

Is there a way to darken the terrain material around spawned foilage( i.e spawned stones) ?
What nodes should i use ?