Blender Git Commit Log

Git Commits -> Revision 6e8ab6d

Revision 6e8ab6d by L. E. Segovia (soc-2018-hair-shader)
June 5, 2018, 00:54 (GMT)
Add hair dye to Melanin concentration mode

This lets you dye the hair after the melanin, using d'Eon's mapping.
Set white (default) to apply no dye, and any other color to apply dye.
Inspired in V-Ray's new hair shader (https://www.chaosgroup.com/blog/v-ray-next-the-science-behind-the-new-hair-shader)

Ref T54796

Commit Details:

Full Hash: 6e8ab6d2139590c5454f146746dc8d990b4d7e84
Parent Commit: afa3108
Lines Changed: +43, -4

7 Modified Paths:

/intern/cycles/kernel/closure/bsdf_hair_principled.h (+2, -0) (Diff)
/intern/cycles/kernel/shaders/node_principled_hair_bsdf.osl (+6, -1) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+12, -2) (Diff)
/intern/cycles/render/graph.cpp (+1, -1) (Diff)
/intern/cycles/render/nodes.cpp (+12, -0) (Diff)
/intern/cycles/render/nodes.h (+1, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_hair_principled.c (+9, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021