06.MaterialSettings¶
Purpose
In this step, you'll understand the structure of the material instance used by Artificial Hair, the function of each parameter, and recommended settings. These parameters directly impact customization and rendering quality, including hair color, shine, and length.
Composition Summary
| Item | explanation |
|---|---|
| Master Material | Hair / Scalp both use the same master material |
| Slot configuration | Slot 0: HairCard Slot 1: Scalp Slot 2: HairCard_LOD |
| Application map | DIRO Map (TGA, sRGB OFF) Flow Map (PNG, sRGB OFF) |
| Use of UV | UV1 reference mapping (UV2 is for custom data) |
| LOD parameters | Adjustable rendering quality per LOD (optional) |
Parameter group structure
| group | Key Parameters | explanation |
|---|---|---|
| 0_Map | DIRO Map , Flow Map |
DIRO/Flow texturing and quality control |
| 1_BaseColor | TipColor , 2ndColor , Highlight Color1~3 |
Control hair color, two-tone/Highlight color, and gradient range |
| 2_Spec/Rough/Opacity/Depth | Specular , Roughness , Opacity_Threshold , Dither , PixelDepthOffset , Scatter |
Compensation for specular reflections, surface roughness, transparency, and depth |
| 3_Variation | Hair Cut , Hair Cut Max , Hair Cut Blend , Hair Cut Hood Height , Hair Cut Hood Blend |
Custom length adjustment ( Hair Cut ) and hood response ( Hood Height ) control |
| 4_LOD | LOD Overwrite |
Rendering compensation values per LOD (optional) |
Material Instance for Scalp
| Parameters | explanation |
|---|---|
DIRO Map , Flow Map |
Use a map of the same format as HairCard |
TipColor |
Scalp color parameters |
Specular , Roughness , Opacity_Threshold , Dither , PixelDepthOffset , Scatter |
Compensation for specular reflections, surface roughness, transparency, and depth |
⚙️
Scalp does not use UV2, so two-tone, Highlight Color, and cut parameters do not apply.
Things to check
| item | Things to check |
|---|---|
| Whether DIRO/Flow map is connected | Check that the two textures are connected according to the specifications. |
| sRGB settings (both maps OFF) | Check the detailed options of each texture |
| Whether to use the same master for both Hair and Scalp | Checking the Parent of a Material Instance |
| Check the custom UI response when changing the TipColor parameter. | Check if the basic dye color reacts |
Mistake-avoidance tips
| situation | cause | How to solve |
|---|---|---|
| Hair color and length adjustments are not reflected | Missing PartsId or UV2 | Select appropriate PartsId, check UV2 |
| Card borders are prominent | Opacity_Threshold excess |
Adjust to a value between 0 and 1 |
Summary of this section
| Checklist | Whether completed |
|---|---|
| Check DIRO/Flow map connection | ✅ |
| Setting the appropriate Specular/Roughness values | ✅ |