Mixing textures with microdisplacement

Hi,

https://drive.google.com/drive/folders/1yis9PSqVay_hJY9HC08kv_l2ilrDjxsx?usp=sharing

I’ve been struggling with this problem for a while now. My goal is to mix the micro displacement of two different materials. But I haven’t found the solution yet and I’m bad with nodes. As you can see on the screenshots the diffuse, roughness and normal textures are well differentiated (thanks to the noise texture and color ramp) but not the displacement textures. I used two very different materials to see the problem (sand and pebbles). I send the two displacement textures in a mix color node but setting it to “mix” or “overlay” doesn’t change much. It can be observed that the microdisplacement of the pebbles influences the sand and vice versa.
Maybe the information from the noise texture and color ramp needs to be recognized by the displacement but I don’t know how to do that…
In fact, I would like to be able to do in blender what you can do with quixel mixer for example :slight_smile:

Thanks !

Working on blender 3.5.1

place the output of the colorramp into the grey socket of the the overlay and put it back to mix, should work then.

It works ! Thank you !

But how can I change the value of each microdisplacement individually ? Because as you can see, the displacement of the sand is way too strong.

I think I found a solution : by decreasing the contrast of the displacement texture ! It reduces the height.

Thanks again !