0
$\begingroup$

I have a mesh where there will be multiple black and white textures on it, and will each set the value a shader that will appear on the mesh in different areas. So wherever the texture is painted, the material will appear there, for short.

I know this set up won't work, but it's an example of what I want to be done: enter image description here

The first (material output setup) will show a material/color from the Principled BSDF shader wherever 1Image is painted (as in probably a black color will be painted on a white texture, or whatever works) on the mesh.

The second, the Diffuse BSDF shader will only show it's purple color wherever the 2Image is painted on the mesh.

The third will have hair grow, hopefully on a scale where black has a full weight, and grey a medium weight, and white no weight. Full weight as in most dense where the hair grows. This will also be wherever those shades are painted on 2Image (supposed to be 3Image, forgot to change it).

So how do I set up a node system that can get this fake set-up to actually work?

Also, I know I could just Weight Paint where the hair grows, but I am limited to only the vertices, and on a low poly mesh, it's hard to be more detailed.

$\endgroup$
  • 2
    $\begingroup$ Here's a possible answer: blender.stackexchange.com/a/748/15140 and here's some related questions: blender.stackexchange.com/questions/58548/…, or blender.stackexchange.com/questions/15642/… $\endgroup$ – Carlo Nov 5 '17 at 16:43
  • $\begingroup$ I am using Cycles, but I may be able to reference those. Not sure how to get it to work with the hair and more materials too. $\endgroup$ – Akados Nov 5 '17 at 16:46
  • $\begingroup$ Distribution of hairs can't be controlled in the material (except you fake the effect with a transparent shaders..). It's better to use the tools in the particle system. For the shaders, it's just a matter of stacking correctly a series of mix shaders controlled by an image texture. $\endgroup$ – Carlo Nov 5 '17 at 16:51
  • $\begingroup$ Is there a better way to get the hairs to be distributed throughout the mesh without weight paint? $\endgroup$ – Akados Nov 5 '17 at 17:08
  • 1
    $\begingroup$ You can use, for example, a texture to control the density of the hairs if you need a vertex-indipendent solution $\endgroup$ – Carlo Nov 5 '17 at 17:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.