Docs
Getting Started
Materialize
Cloudscape
Colorspace
Ray-LAB
DD Material Hair
Documentation & parameter about DD Material Hair.
Overview
DD Material Hair is a hair material addon for Ray-MMD / Ray-LAB. It has four shading models specifically designed for MMD artists who want fine control of their renders. it plugs right into the Ray-MMD material shaders giving you pro-grade results without leaving your existing workflow.
Shading Model ID
Each shading model is assigned a unique material ID, which determines the core shading behavior of the hair material along with the function of the Custom A and Custom B parameters.
| ID | MATERIAL | CUSTOM A | CUSTOM B |
|---|---|---|---|
| 7 | Subsurface | Curvature | Transmittance color |
| 8 | Cel | Threshold | Shadow Color |
| 9 | Toon Based | Hardness | Shadow Color |
| 10 | Hair | Shift | Specular Color |
Subsurface
Red Channel
Green Channel
Blue Channel
X-axis: N·L (−1 to 1) · view-aligned approximation (V=N) | SSS wrap term × transmittance tint (CustomDataB).
CustomA
0.35
CustomB R
1.00
CustomB G
0.40
CustomB B
0.35
Cel
Threshold
Red Channel
Green Channel
Blue Channel
X-axis: N·L (−1 to 1) · shadow = 1.0 (hardcoded) | smoothstep hard-edge at threshold (CustomDataA) x shadow tint (CustomDataB).
CustomA
0.50
CustomB R
0.10
CustomB G
0.10
CustomB B
0.20
Toon Based Shading
Red Channel
Green Channel
Blue Channel
X-axis: N·L (−1 to 1) · view-aligned approximation (V=N) | toon ramp hardness (CustomDataA) × Fresnel attenuation (Specular) × shadow tint (CustomDataB).
Specular
0.04
CustomA
0.50
CustomB R
0.10
CustomB G
0.10
CustomB B
0.20
Hair
Red Channel
Green Channel
Blue Channel
X-axis: N·L (−1 to 1) · view-aligned approximation (V=N) | Burley + Penner SSS (ir=1.0) × CustomDataB · lerp(GGXAniso, KajiyaKay, Fresnel) specular.
Smoothness
0.50
Specular
0.50
CustomA
0.50
CustomB R
1.00
CustomB G
0.85
CustomB B
0.70
On this page