I'm trying to mix a material with a color ramp with an image texture and I can't find a way to make it work.

This is my node set up for the material. Any help would be greatly appreciated.

This is my current node set up for the material in question

  • $\begingroup$ I can't exactly tell what you are trying to do. Are you trying to make the texture gradient? Or are you trying to apply the image over the gradient. $\endgroup$ Commented Dec 7, 2019 at 2:18
  • $\begingroup$ The gradient is being used as shading. I want the texture to darken and lighten with the rest of the model. $\endgroup$
    – Josh
    Commented Dec 7, 2019 at 2:42

1 Answer 1


Assuming that you don't want to apply the shader to the actual face of the texture, all you need to do is plug the alpha of the image texture into the mix shader socket. This should make the faintly discoloured box disappear, as it will only apply the ColorRamp to anything that isn't the face.

Shader setup:

Node graph


Rendered image

If this doesn't work, then check:

  1. The face has an alpha of 1, and everything else has an alpha of 0.
  2. The shaders on the "Mix Shader" node are in the correct order.

You must log in to answer this question.

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