How to control Landscape Tessellation with distance?

I thought that to, then I found this video

It´s a displacement pack on marketplace and there he clearly have depth fade tesselation. I did find somewhere that you should use the “Pixel Depth” node, but I get these errors that the node cant be used in that material.