Cycles: add Principled Hair BSDF.
authorL. E. Segovia <leonardo.segovia@cs.uns.edu.ar>
Wed, 18 Jul 2018 09:14:43 +0000 (11:14 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Wed, 18 Jul 2018 11:59:06 +0000 (13:59 +0200)
commit5078b9d2d08a34ae3786100c2301ea960165e7f2
tree64d375c93428292fbba4f58c8ab4f097874eeefb
parent566b319335563888e252b2186c93606ad41ff216
Cycles: add Principled Hair BSDF.

This is a physically-based, easy-to-use shader for rendering hair and fur,
with controls for melanin, roughness and randomization.

Based on the paper "A Practical and Controllable Hair and Fur Model for
Production Path Tracing".

Implemented by Leonardo E. Segovia and Lukas Stockner, part of Google
Summer of Code 2018.
30 files changed:
intern/cycles/blender/blender_shader.cpp
intern/cycles/kernel/CMakeLists.txt
intern/cycles/kernel/closure/bsdf.h
intern/cycles/kernel/closure/bsdf_hair_principled.h [new file with mode: 0644]
intern/cycles/kernel/geom/geom_curve.h
intern/cycles/kernel/geom/geom_curve_intersect.h
intern/cycles/kernel/kernel_compat_opencl.h
intern/cycles/kernel/kernel_volume.h
intern/cycles/kernel/osl/osl_closures.cpp
intern/cycles/kernel/osl/osl_closures.h
intern/cycles/kernel/shaders/CMakeLists.txt
intern/cycles/kernel/shaders/node_principled_hair_bsdf.osl [new file with mode: 0644]
intern/cycles/kernel/shaders/stdosl.h
intern/cycles/kernel/svm/svm_closure.h
intern/cycles/kernel/svm/svm_types.h
intern/cycles/render/graph.cpp
intern/cycles/render/nodes.cpp
intern/cycles/render/nodes.h
intern/cycles/util/util_math.h
intern/cycles/util/util_math_float3.h
release/scripts/startup/nodeitems_builtins.py
source/blender/blenkernel/BKE_node.h
source/blender/blenkernel/intern/node.c
source/blender/editors/space_node/drawnode.c
source/blender/makesdna/DNA_node_types.h
source/blender/makesrna/intern/rna_nodetree.c
source/blender/nodes/CMakeLists.txt
source/blender/nodes/NOD_shader.h
source/blender/nodes/NOD_static_types.h
source/blender/nodes/shader/nodes/node_shader_bsdf_hair_principled.c [new file with mode: 0644]