at the moment you can only ‘fake it’ with the method shown in 's links
this method is scripted only for ‘N’ amount of positions you account for in your shader. this means if you have one player character (as in those tutorials) it’ll be fine, but in a multiplayer game (or game with bots/npcs) then you’ll only have ‘N’ amount of objects interacting with the foliage. i.e. if you want 3 entities interacting with foliage you need to add 3 times as many shader nodes, and so on
a more flexible implementation isn’t there but has been requested already. might as well only come out of the nvidia gameworks implementation