Distance field for Interactive Foliage

Dear all,

I have been following these tutorials for interaction on grass using distance field:

But unfortunatly it doesn’t work:

Can anyone tell me what am I doing wrong?

Thanks in advance.