Skip to main content

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

Itemexplanation
Master MaterialHair / Scalp both use the same master material
Slot configurationSlot 0: HairCard
Slot 1: Scalp
Slot 2: HairCard_LOD
Application mapDIRO Map (TGA, sRGB OFF)
Flow Map (PNG, sRGB OFF)
Use of UVUV1 reference mapping (UV2 is for custom data)
LOD parametersAdjustable rendering quality per LOD (optional)

Parameter group structure

groupKey Parametersexplanation
0_MapDIRO Map , Flow MapDIRO/Flow texturing and quality control
1_BaseColorTipColor ,
2ndColor , Highlight Color1~3
Control hair color, two-tone/Highlight color, and gradient range
2_Spec/Rough/Opacity/DepthSpecular , Roughness ,
Opacity_Threshold , Dither ,
PixelDepthOffset , Scatter
Compensation for specular reflections, surface roughness, transparency, and depth
3_VariationHair 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_LODLOD OverwriteRendering compensation values per LOD (optional)

Material Instance for Scalp

Parametersexplanation
DIRO Map , Flow MapUse a map of the same format as HairCard
TipColorScalp 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

itemThings to check
Whether DIRO/Flow map is connectedCheck 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 ScalpChecking 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

situationcauseHow to solve
Hair color and length adjustments are not reflectedMissing PartsId or UV2Select appropriate PartsId, check UV2
Card borders are prominentOpacity_Threshold excessAdjust to a value between 0 and 1

Summary of this section

ChecklistWhether completed
Check DIRO/Flow map connection
Setting the appropriate Specular/Roughness values