Adding a height value to materials

Hello.
I am a newbie to ue 4 but I really love it and all of its features ! This time I want to know how can I add some height to part of the material in blueprint, for instance: I have a grass with some stones and these stones has height heigher than grass level. I mean not to do it using teuxtre height maps ar bump offset to only “fake” this effect but I really want to achieve it. Maybe the attached picture will be heplfull in undestanding my question. This effect should be similat to putting a rock static mesh on the ladscape. I also saw similar effect in M_AssetPlatform_Grass material from starter content but I have really no idea why the Lerp node isn’t connected to anything and no idea what is this effect comming from. Thanks for any help.

Best Regards.

This is totally doable, and not very hard. You are looking for world displacement.

Inside a material → select the output node → details panel → turn on tessellation mode (PN Triangles or Flat Tessellation).

This will enable the world displacement and tessellation multiplier on the material output node.

Then you can multiply vertex normals with a value to push out geometry. (Of course you would probably want to mask what you are pushing out with a height map or something, that way white values would be pushed out and dark values would not).

The tessellation multiplier just increases the triangle / tessellation amount to give you height resolution.

There is a ton of good tutorials on this that will help you understand more if you search for world displacement materials. But here is a simple visual to show what I’m talking about:

Many many thanks ! I will give it a try as soon as I will have access to UE4. I will also read more about world displacement and tesselation. Thanks a lot for your clue !

No problem! If this ends up working for you please come back and mark my solution as correct to help others with this question find the answer. Thank you :slight_smile:

If someone wants to know more, here is the good post How to create and use displacement maps? - Rendering - Epic Developer Community Forums