2

How do I make a Noise texture (or any texture) only appear in places where Musgrave is white/black?

I tried adding them with math node but this gives monochrome image.

enter image description here

Duarte Farrajota Ramos
  • 59,425
  • 39
  • 130
  • 187
Mur4al
  • 23
  • 4
  • https://blender.stackexchange.com/questions/3105/how-can-i-blend-two-textures-together-using-cycles/3112#3112 https://blender.stackexchange.com/questions/10453/how-can-you-smooth-the-edge-between-two-materials/10455#10455 https://blender.stackexchange.com/questions/105454/how-to-mix-textures-with-colour https://blender.stackexchange.com/questions/46424/add-a-transparent-image-on-top-of-a-material – Duarte Farrajota Ramos Jul 02 '19 at 11:04

2 Answers2

1

Instead of using the Math node for adding, you should use the Math node with Multiply. So for example then the areas where your Musgrave texture is 0 will remove the influence of the Noise texture there.

If you use colorful noise you could have a color mix node with that noise and white (or whatever color you want when the musgrave is 0) rbg color as inputs, and the mix factor would be controlled by the musgrave texture value

Robert Roth
  • 669
  • 5
  • 14
1

There are lots of ways to do this, but to open up mixing options, you could do it via the colors of the textures, via a Mix RGB node set to one mode or another -

Darken:

enter image description here

Lighten:

enter image description here

If you just want to use the Musgrave Textrue as a mask, (not actually see it,) then you could connect it to the Mix RGB node Fac to Fac, and put whatever other texture/color you want into the top color slot.

Robin Betts
  • 76,260
  • 8
  • 77
  • 190