Skip to Content
Poly Hammer
Workflows

Customizing Materials

Textures feed the Texture Logic node, which blends color and normal map variants to produce animated wrinkle maps as RigLogic evaluates.

Read Markdown0.15.1

Textures feed the Texture Logic node, which blends color and normal map variants to produce animated wrinkle maps as RigLogic evaluates.

Material Masks EvaluatingTexture Logic Node

Custom Materials

You can build a fully custom material node tree. Just add one Texture Logic node to the graph (Add > Rig Logic > Head Texture Logic in Blender's Shader Editor) and link your material in the Rig Instance outputs.

Custom material with Texture Logic node

With that connected, RigLogic updates the wrinkle map masks for you as the GUI controls are evaluated.

Importing Textures

When importing or converting a mesh, you can set the Maps folder location. By default, if a Maps folder sits alongside the .dna file, the importer uses it; otherwise, point it at your folder.

Maps folder option

The importer links any .tga or .png textures to the Texture Logic node inputs that follow one of these naming patterns:

Pattern 1

Texture FileMaps To
Head_Basecolor.pngColor_MAIN
Head_Basecolor_Animated_CM1.pngColor_CM1
Head_Basecolor_Animated_CM2.pngColor_CM2
Head_Basecolor_Animated_CM3.pngColor_CM3
Head_Normal.pngNormal_MAIN
Head_Normal_Animated_WM1.pngNormal_WM1
Head_Normal_Animated_WM2.pngNormal_WM2
Head_Normal_Animated_WM3.pngNormal_WM3

Pattern 2

Texture FileMaps To
Color_MAIN.tgaColor_MAIN
Color_CM1.tgaColor_CM1
Color_CM2.tgaColor_CM2
Color_CM3.tgaColor_CM3
Normal_MAIN.tgaNormal_MAIN
Normal_WM1.tgaNormal_WM1
Normal_WM2.tgaNormal_WM2
Normal_WM3.tgaNormal_WM3

Pattern 3

Texture FileMaps To
head_color_map.tgaColor_MAIN
head_cm1_color_map.tgaColor_CM1
head_cm2_color_map.tgaColor_CM2
head_cm3_color_map.tgaColor_CM3
head_normal_map.tgaNormal_MAIN
head_wm1_normal_map.tgaNormal_WM1
head_wm2_normal_map.tgaNormal_WM2
head_wm3_normal_map.tgaNormal_WM3

On this page