How to use slope masks from Houdini in UE5?

Hi guys, what’s the workflow for using various masks generated in Houdini (Slope, Water, Sediments, Debris etc ) inside of UE5? So let’s say I got a height map png and b/w Slopes Mask that marks areas up to 20° on the terrain with white color - how can I then utilize that slope mask inside of UE5 assigning a specific grass or sand material using that slope mask?

Height map:

Slope Mask:

Thanks in advance!

If the heightfield contains the layers in the HDA output, you can reference the layer with a blend layer function in your landscape material. And set the layer name to your HDA layer name. It is case sensitive.

If you used the Heightfield_MaskByFeature sop to achieve the mask, you can use the Heightfield_Copy_Layer SOP to convert the mask to your layers. You can call it whatever you like, so long as the landscape blend in the material has the same name, as stated before.

To use masks generated in Houdini (e.g., Slope, Water, Sediments, Debris) in UE5, follow these steps:

  1. Export height map and slope mask from Houdini.
  2. Import them into UE5.
  3. Create a material in UE5 that includes the slope mask.
  4. Use a Texture Sample node to sample the slope mask texture.
  5. Connect the Texture Sample to a Lerp node with materials (e.g., grass, sand) in the inputs.
  6. Use the slope mask as the alpha channel to control material blending.
  7. Apply the material to your terrain in UE5.

This way, you can assign specific materials based on the slope values in UE5 using the Houdini-generated slope mask.