5
$\begingroup$

How can you take the white background out an image texture in the cycles node editor?

Here's the image I found on the internet:

the image I'm using

What I want to do is add scratches but have a different colour/texture underneath the scratches. Here's my current node setup:

nodes

$\endgroup$
6
  • $\begingroup$ Could you upload an example of the image in question? I assume there is no alpha channel? $\endgroup$
    – gandalf3
    Mar 29, 2015 at 7:35
  • $\begingroup$ @gandalf3 editing the question so it has the image $\endgroup$ Mar 29, 2015 at 7:37
  • $\begingroup$ Thanks :) Btw, how do you plan to use the image? (In what way does the background need to be removed?) Perhaps a screenshot of your setup so far would be helpful.. $\endgroup$
    – gandalf3
    Mar 29, 2015 at 7:39
  • $\begingroup$ @gandalf3 added some more infomation $\endgroup$ Mar 29, 2015 at 7:44
  • 2
    $\begingroup$ To do that, all you need is to plug the texture into the mix factor $\endgroup$
    – gandalf3
    Mar 29, 2015 at 8:00

2 Answers 2

5
$\begingroup$

To do that, you can use the grayscale map as the mix factor.

To mix colors:

enter image description here

Or shaders:

enter image description here

The color ramp node is only there to get rid of jpg compression artifacts.

$\endgroup$
1
$\begingroup$

You can use the Color MixRGB node in Multiply mode, the white information of your image will be ignored:

enter image description here

$\endgroup$

You must log in to answer this question.

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