I have a cube (A simple example) I have used a displacement texture (which creates an uneven surface on my cube).
I want to make the lower parts of the displacement use a different texture to the higher parts. (Imagine scratching away the surface to reveal a different material below).
I have set up a material node system with two images textures and a mix shader, but not sure how to drive this so that I can define what parts of the displacement are linked to each image texture.
Thanks for anyone who can help