0
$\begingroup$

I wan't to have a bump texture, but its only visible in the black parts of this textureenter image description here

I think I maybe figured it out but for some reason the texture is flipped on either sideenter image description here

enter image description here

Here's the node setup, there's no actual bump node in but thats cause I couldn't figure out how to do it with the bump, if someone knows pls lmk. enter image description here

$\endgroup$
3
  • 1
    $\begingroup$ please add a screen shot showing your shader material $\endgroup$ Sep 19, 2021 at 2:45
  • $\begingroup$ The easiest way is to use a Principle BSDF node and connect everything throught that $\endgroup$
    – Emir
    Sep 19, 2021 at 3:57
  • $\begingroup$ but like how do you make it so that the texture is only visible in the black parts of that first image $\endgroup$
    – Oboyobo
    Sep 19, 2021 at 3:59

1 Answer 1

3
$\begingroup$

You can use a Color mix node set to "screen" mode, to mix the bump texture with the Musgrave texture, so that you get a dark value only where both textures are dark.

Remember that color ramp nodes generally have black on left and white on right side (if inverted the results are inverted).

All four last shader nodes can be substituted with a Principled BSDF (with different results).

enter image description here

This is another approach, in which two different shaders (one with bump ond one without) are mixed.

Pro: the two shaders can have very different values. Cons: slower render, as two shaders have to be evaluated instead of only one.

enter image description here

$\endgroup$
2
  • $\begingroup$ Thanks, but is there a way to do it so that the black color isn't visible? I'm just trying to have it so that the bump texture is in the shape of the musgrave(ie the musgrave is the map for the bump) but you cant actually see the musgrave $\endgroup$
    – Oboyobo
    Sep 19, 2021 at 16:58
  • $\begingroup$ In the first example just disconnect the color ramp output from the color input of the diffuse shader. In the second example disconnect the color ramp from the base color input of the 2nd Principled BSDF and set all values the same (except the bump inputs, one with and the other without). $\endgroup$ Sep 19, 2021 at 17:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .