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$
  • $\begingroup$ Could you upload an example of the image in question? I assume there is no alpha channel? $\endgroup$ – gandalf3 Mar 29 '15 at 7:35
  • $\begingroup$ @gandalf3 editing the question so it has the image $\endgroup$ – Chickenator Mar 29 '15 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 '15 at 7:39
  • $\begingroup$ @gandalf3 added some more infomation $\endgroup$ – Chickenator Mar 29 '15 at 7:44
  • 2
    $\begingroup$ To do that, all you need is to plug the texture into the mix factor $\endgroup$ – gandalf3 Mar 29 '15 at 8:00
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$

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.