How to apply textures based on multiple heightmaps?

Hello,

I have successfully created my first map on World Machine and exported as well the different heightmaps for Cliffs, Sand, Wet Sand and underwater Coral/Grass.

I am currently able to create a material that automatically paint the terrain based on the slope and height of the landscape itself but I cannot manage to basically tell the material for example “Ok you are only painting where the Beach heightmap tells you to”

Can anyone point me to the correct direction? This has bugging me for a couple of days now :frowning:

Many thanks!

Not sure what your current setup is but in a sense it should work if you multiply your vertex paint output (say the red channel) with your Beach heightmap before the final material output.