Just as with other materials in Cinema 4D, the Hair material can also be edited in either the Material Editor window (double-click on the Hair material) or in the Attribute Manager. The Material Editor is used for the following descriptions and screenshots.
A Hair material is made up of numerous material channels. You can activate or deactivate these channels to your heart’s content, and see what all you can create! When you click on a material channel, its properties will be made visible on the right-hand side in the Material Editor. As you can see in the image above, most channels also contain settings within menus that can be opened and closed (e.g., Roots, Tips, Colors, etc.). Clicking anywhere on the corresponding bar will open or close that menu.
At the top left of the Material Editor you will see a preview of the Hair material. This preview works similarly to the normal Cinema 4D material preview.
Hair materials offer the following additional menu items (right-click on the preview image):
All Hair channels are described here.
In most cases, the Hair material will be automatically assigned to the Hair object if you use the Create Hair command to grow hair on an object or selected item. The thickness of the hair and its style will then be influenced by the guides.
The Hair material can also be applied manually to the following types of objects:
A Hair material with numerous Hair channels applied to an object requires a projection type. First, determine which of the following applies:
A Hair object can be assigned several Hair materials by simply dragging and dropping the Hair material from the Material Manager onto the Hair object in the Object Manager. Each time, a Hair Material tag (see Hair Material tag) will be created that defines how the Hair material is blended.
The Hair material channels will always be applied in the following order:
This applies only to the channels listed above and not to other channels.
Is the order in which the above channels are applied important? Well, it’s similar to the Cinema 4D Deformation objects – a different sequence would lead to a different result.
Although this sequence cannot be changed, there is a trick you can use to work around this, if necessary:
Let’s say you decide you want to apply Frizz before Bend is applied. To do this, you need two materials - one with Frizz active, and Bend deactivated, and the other with Bend active, and Frizz deactivated. Apply both materials to the Hair object. In the Hair Material Tags that are subsequently created, deactivate the Use Available option for each tag. This lets each tag have an equal effect on all hairs.
A deciding factor for the order in which channels will be applied is their placement in the Object Manager. The left-most Hair material will be applied first.
Hair materials offer two basic methods for editing, which apply to almost every channel.
Function graphs can be used to adjust the strength of a channel’s influence along the length of the hair. The left end of the graph represents the hair root, the right end represents the tip of the hair. In the example above, the Kink of the hair was defined using the curve. The left half of the curve has a value of 0, i.e., the hair remains straight. The curve’s value increases on the right, resulting in the hair being influenced by the Kink more and more towards the tip. Often, such a curve will have a separate parameter which lets you set a maximum value for a channel.
Several function graphs have both a negative and a positive range. In this instance, a null-curve will result in a straight hair at mid height.
Most channels can also be controlled over an entire surface using a texture (vertex maps can even be painted!). Such a texture is always assigned to a setting that defines a maximum value that can be applied. In most cases, only the a shader’s or bitmap’s grayscale will be used.
The only exception: In rare cases, the RGB values will be utilized to define direction (e.g., Displacement channel: Direction).