How to add parallax mapping to a landscape material?

I don’t know how to connect height maps to parallax mapping node. Parallax node can’t take texture2D nodes and layer blend can’t take textureObject nodes. But I’ve seen a lot of people somehow added POM into their landscape material, so it’s possible. But how?