0
$\begingroup$

I have an ashtray model(picture1). I picked some faces(picture 2) and applied an material for ash and some part of metal under it. i mixed two textures with MixRGB node and used black/white image as alpha to clean around ash so that the metal part seems. But in the end, i want my ash part not glossy(diffuse) and metal part glossy. How can i achieve it ?

Picture 1 - My mesh

enter image description here

Picture 2 - The Faces i applied my ash/metal metarial

enter image description here

Picture 3- Node setup i used to mix metal and ash texture with help of an alpha image

enter image description here

$\endgroup$
  • 1
    $\begingroup$ Possible duplicate of Add different materials to different parts of a mesh? $\endgroup$ – brockmann Nov 28 '17 at 10:51
  • $\begingroup$ just to clarify, you have two separate materials or one material for both the metal and ash parts? $\endgroup$ – David Nov 28 '17 at 14:28
  • $\begingroup$ It is one material with for both. I wanted to use different shader for each ash and metal part. $\endgroup$ – Mehmet Nov 28 '17 at 22:31
4
$\begingroup$

Instead of one shader (Glossy), use a Mix shader node that is fed by the Glossy node and a Diffuse node, and plug that alpha image into the mix factor of the mix shader to control where the shader type is.

$\endgroup$
  • 1
    $\begingroup$ i tried it that way plus adding transparent node instead of mixRGB and it worked! thank you. Here is the new node setup. prnt.sc/hg1rm6 $\endgroup$ – Mehmet Nov 27 '17 at 20:43
  • $\begingroup$ Hey Craig, can i use different UV Maps for each shader ? Is it possible ? $\endgroup$ – Mehmet Nov 29 '17 at 20:56
  • $\begingroup$ As long as you name each uv map differently and call it in the uv coordinate node, yes. $\endgroup$ – Craig D Jones Nov 29 '17 at 21:00
  • $\begingroup$ when i export my mesh as collada, which uvmap does it set for that face ? Because i will bake textures for my mesh. $\endgroup$ – Mehmet Nov 29 '17 at 21:32
  • $\begingroup$ If you are exporting the whole project, I am not sure of how you want it to be set up as final- I normally bake to get one main uv map that takes all the other uv maps out of the equation, giving me a way to stencil between shaders with just one mask, but still use the same mapping for other things like glossy, etc. $\endgroup$ – Craig D Jones Nov 29 '17 at 21:35

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.