Table of Contents
This shader renders a simple weave made out of threads, can be used for carbon fiber, cloth, or similar.
Since the threads are rendered along the U and V coordinates, it requires a Projection.
Connect a Projection node to define the texture projection used for the Weave. If it's not connected, the default UV Map will be used if has been defined.
The other inputs correspond to the controls exposed in the panel.
Returns the final output colour of the threads on top of the background colour.
Returns a random ID for each thread
Returns the opacity of the threads. If Opacity Fade is set to 0%, this is essentially a mask for the threads. If it set to 100%, it includes the effects of the Round Shadow and the Weave Shadow settings.
Returns the displacement due to the threads.
For now, there is no bump or normal output since the original shader doesn't compute it.
All of the parameters may be animated or overridden by node inputs, with the exception of the Random Seed, due to performance reasons.
Since the shader renders threads on top of a background, this allows you to define the background colour.
The spacing and scale of the threads. The smaller the scale, the more there are.
The width of the threads as a percentage to the next thread.
U Colour / V Colour
The colour of the threads along U and V.
Roundness / Weave
This tints the fibres to add pseudo-shading to make them look round.
This works in conjunction with Round Shadow, both need to be higher than 0% for en effect to be seen.
Round Shadow defines the strength of the shading, the Roundness how much of the fibre is covered.
Adds this much displacement due to Roundness to the Displacement output.
Adds a fake, ambient occlusion style shadow to the Roundness shading.
Adds this much displacement due to the weaving to the Displacement output.
Adds a fake, ambient occlusion style shadow of the top fibres to the ones underneath it.
Frizz / Bendyness
This changes the width of individual fibres along their length.
Controls how much of the Frizz is added to the final Displacement.
This controls the the frequency of the change in width.
This randomizes the width of the fibres.
Controls the frequency of the Bendyness.
Controls if the Opacity Output will just return the opacity for the threads or the opacity of the threads modified by the Round Shadow and Weave Shadow effects.
This is used as the base for the noise function used to randomise some of the settings, such as Frizz and Bendyness. A different seed will retain the same general style but with different distributions.