Avatar SDK Local Compute Unity plugin
3.1.0
Realistic avatar generation toolset for Unity3D
|
Avatar SDK Local Compute unity plugin v3.1.0 allows recoloring body and haircut textures at runtime:
Add the HaircutRecolorer component to an object with a haircut mesh renderer. Basic properties should be automatically detected.
HaircutRecolorer uses an average color from the texture as a default color. If you invoke HaircutRecolorer.DetectDefaultColor method by passing an avatar code, it will tries to find the "Hair Color" value in Model Info file and will use it as a default color. If itsn't found, an average color will be used.
Add SkinRecolorer component to an avatar object. Basic properties should be automatically detected.
SkinRecolorer uses an average color from the texture as a default color. If you invoke SkinRecolorer.DetectDefaultColor method by passing an avatar code, it will tries to find the "Skin Color" value in Model Info file and will use it as a default color. If itsn't found, an average color will be used.
For better results we recommend to use a default skin color from the Model Info.