0
$\begingroup$

I have painted the area on plane where I would like to have one microdisplacement map and the the invert of that with no microdisplacement.

So white area is with microdisplacement map and black area without.

How should I connect the material to get that?

enter image description here

$\endgroup$
1
  • $\begingroup$ Sadly, the topology is not generated by any displacement map. Here are two materials, one doesn't have displacement enabled and one with heavy displacement. All the subdivisions happen before the displacement through the subdivision modifier. As you can see both objects are dynamically-subdivided resulting in the same amount of vertices regardless of the actual displacement. $\endgroup$
    – Leander
    Jun 28 '18 at 21:17
2
$\begingroup$

It's essentially the same as you're doing to mix between shaders for your surface:

enter image description here

Here, I'm using the exact same texture to mix between shaders and to mix between displacement. Since displacement doesn't use shaders, I'm using colors and a mix RGB node instead of a mix shader node, but it could as easily be done with values and math nodes:

enter image description here

$\endgroup$
2
  • $\begingroup$ thank you, is it possible to get the result with vertex colors ? $\endgroup$
    – eon
    Jun 29 '18 at 1:25
  • $\begingroup$ Yes, that would be a different question, but I doubt you need to ask it-- again, you're performing the same fundamental process, using a number provided from a texture in order to mix between two colors. $\endgroup$
    – Nathan
    Jun 29 '18 at 1:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.