4
$\begingroup$

I'm working on the manga-stylised hair strands created from simple planes. enter image description here

I'm using the b&w image texture (.jpg) as a transparency mask. I now want to exchange the .jpg image with the similar texture, but created procedurally. How could I recreate the texture pictured below using procedural textures? enter image description here

$\endgroup$
10
$\begingroup$

To do this I would use a mapping node and a noise texture:

enter image description here

Which creates:

enter image description here

The key here is that the mapping node is stretching the noise texture along the x axis by having the 'x' value of the scale to be very small. The closer to 0 it gets the more stretched out it is.

You can then increase the scale value on the noise to increase the number of 'bands' in the noise.

I then used the 'Fac' value of the noise instead of the 'Color' as the output for the shader to display.

Note: I used 'Generated' coordinates but this should work with other coordinates, like UVs. The axis you need to stretch with the mapping node may change depending on the orientation of those coordinates.

$\endgroup$
  • $\begingroup$ Thanks for a solution Ray! This is exactly what I was looking for :). Now I have a better control over strands thickness (I can easily randomise it using Detail and Distortion sliders of a Noise Texture node). Oh, and you were right- using UV coordinates gives a slightly better result. $\endgroup$ – Paul Gonet Jun 13 '15 at 16:45
  • $\begingroup$ I see great use for your nodes and thank you. $\endgroup$ – Rita Geraghty stands by Monica Feb 8 '19 at 3:27

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.