Download

How to add parallax mapping in 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?

Add a POM node to each height texture. Alternatively use bump offset.

I think it would be easier if you create material function that contains the parallax effect and you blend them afterwards.
I don’t think the pom material is supposed to be used that way as you cannot use a layer blend as a heighmap texture.

https://forums.unrealengine.com/core/image/gif;base64

here is my setup. I created another material function to avoid having to dupplicate each time the parallax nodes and all its parameters. Hope it helped.