I have two texture nodes for my object. I'm using the "normal" node to create a bump map by connecting the "color" output of texture1 to the "normal" input of the "normal" node and taking the output to the "displacement" in "material output".

Now I need to apply the displacement only to those areas that are transparent in texture2. How can I use the alpha channel of texture2 to mask out texture1 before it goes to the input of the normal node?


1 Answer 1


I think I got it:

I used a mix RGB node and put my texture1 into the upper slot and a transparent color into the lower slot. Then I put the alpha of texture2 into the "fac" of the mix node.

  • 6
    $\begingroup$ A screenshot of your node setup may prove helpful to other people who want to achieve this. Also, if this indeed solves your problem, you should mark your answer as the accepted one. $\endgroup$
    – user7952
    Jan 25, 2015 at 14:49
  • $\begingroup$ @SixthOfFour There is time constraint before you can accept your own answer, I think it is two days. $\endgroup$
    – J Sargent
    Jan 25, 2015 at 18:28
  • $\begingroup$ @NoviceInDisguise Oh. I didn't know that. $\endgroup$
    – user7952
    Jan 25, 2015 at 21:02

You must log in to answer this question.

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