Loading... (0%)

Cinema 4D Hair Problem: Black checkerboard-like areas on Hair

17 March 2017

This is a problem that has been haunting me for years and I have finally found out why it appears and how to fix it.

Let me describe the problem for you
It happens when using Cinema 4D Hair with standard renderer on objects that have quad or ngon polygons (non-triangles), for example on characters that should obviously have quads all over for a good polyflow.

In the Hair Material Color you activate the “take shadows/illumination/color from surface” to get a nice and smooth Hair coloring with GI and the physical sky system and all of a sudden the hair starts to get black dark shadows in a checkerboard-like fashion, meaning some hair strands render great but some are very dark almost black at the roots.

Why does this happen
Cinema 4D Hair shades per segment and interpolates from the root of a segment to the tip of a segment. Now it appears the bottom-most root segment starts out black BECAUSE it is actually not perfectly on the surface of the character mesh (where it takes the color/illum/shadow information from) but slightly beneath it.

WHY? Because Quad polygons that are not perfectly flat are actually two triangle polygons that have a curvature to form the quad polygon. So far so good, but the Hair unfortunately does not stick to the surface of the underlying trianlge polygons but interpolates from the 4 vertex-points of the quad polygon across the quad-polygon, making some hair go beneath the surface of the quad polygon.

Again, this happens only if you have quads that are not entirely flat and have a slight concave ( convex?) curvature.

Now how to fix this

  1. Either get rid of your quads, but this really is a bad solution for rigged meshes
  2. go into the Hair object and in the Hair tab there is a subtab called root that has an offset option, that pushes the Hair slightly outward. Increase this to something like 0.2 or so or test it with higher values if it is not enough.

Bam! Your Hair gets shaded correctly. You might have to increase your Hypernurb subdivision on your mesh, if you have to increase the Hair offset too much to make the Quads as flat as possible.

Cheers!

cgdirector - post author

Hi, I am Alex, a passionate Director and 3D Generalist currently working in an Animation Studio.

Post your Comment

Rules of the Blog
Do not post violating content, tags like bold, italic and underline are allowed that means HTML can be used while commenting.