I want to create a ground material that contains wet parts that are reflecting and the usual ground material which is not reflecting. It should look realistic so I also used a simple displacement node with the texture that I also created for the basic color. Since there are supposed to be wet parts on the ground I somehow need to only use the displacement on the parts of the material which are not supposed to be water and because of that reflecting. For the areas that are glossy like water, I used a Musgrave texture. So white parts will be glossy, black ones will have the other ground texture. If I displace with the ground texture I also displace the glossy part of the texture. Basically, I want to create a ground material with displacement but also with puddles that are then not reacting to the displacement.
How can I then make such puddles on a displacement using material so that the puddles then don’t have any displacement but the rest of the material does?
(First render has the material that is on the image with no reflecting water but diplacements, second one would be how it would look like with the displacement part disconnected - so there is reflecting water and but no displacement)