2
$\begingroup$

I've been working on the Blender Guru donut tutorial and want to add some variation to the condensation on the coffee cup. Currently the condensation stops very abruptly on the the inner rim of the glass, creating a harsh transition between the glass and the droplets.

enter image description here

Is there a way to mask or hide certain pieces of the condensation material in order to create a more irregular transition with the glass material? In other words, I want the droplets to be visible only on specific portions of each face, not the whole thing. I've seen that color ramp nodes can be used to create a fade/gradient effect between materials, but am unsure how to accomplish this using my water normal map.

My current node setup:

enter image description here

Thanks in advance for your help!

$\endgroup$
  • 3
    $\begingroup$ Use a color ramp as gradient to control the mix of two textures or materials blender.stackexchange.com/questions/34834/… and blender.stackexchange.com/questions/10453/… $\endgroup$ – susu Jun 25 at 23:03
  • $\begingroup$ Thanks so much for your response, though I'm still a little confused. I went through the links that you posted and see how the color ramp and gradient features can be used to change the color of an object, but am unsure how to incorporate these nodes with the normal map I'm using above. Is there a way to use the color ramp node in tandem with the image that I'm using for the normal map? I'm still pretty new to all this and I really appreciate your help! $\endgroup$ – GrungePepper Jun 26 at 19:29
0
$\begingroup$

Sure, that's the whole point of shading, you create noise patterns and then use them to guide blend or strength input parameters. Here a example:

Separating Uv coordinates makes a gradient in the chosen direction, add centeri it in the plane and then mix it with a noise on linear light mode. Then use that to guide any blend or parameter. 1 of the millions of ways you can mix values to generate masks, the core technique of shading.

| improve this answer | |
$\endgroup$

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.