Landscape Distance Field in water shader

I’m trying to make a shore on a water shader using MeshDistanceFields. It works good with StaticMeshes in the water, but doesn’t work with landscape.

As I know, Landscape has a HeighField, but not a MeshDistanceField, but as I have found, the HeighField was integrated inside GlobalMeshDistanceField since 4.12. So I suppose it must work as expected, but it doesn’t.

Can anyone suggest me something?