Blender Git Loki
Git Commits -> Revision 3f4c061
Revision 3f4c061 by Sergey Sharybin (master) October 11, 2015, 14:43 (GMT) |
Fix T45058: Cycles hair shader reflects incorrectly for meshes The issue was caused by non-continuous tangent space calculated for triangles. This commit adds a Tangent input to Hair BSDF node which can be used to hook up Tangent calculated form UV as an input to the node in order to make sure the tangent space is continuous. Doing this as an input instead of using default tangent layer from UV because of several reasons: - This way it's really easy to preserve compatibility with existing setups. - Default UV map is not necessarily giving continuous space, one might want to use other tangent space sources or distort the space for some artistic decision. Reviewers: juicyfruit, dingto Reviewed By: dingto Differential Revision: https://developer.blender.org/D1428 |
Commit Details:
Full Hash: 3f4c0612fedf9d135d72c428e2433c890edb0412
Parent Commit: 34e7285
Lines Changed: +8, -2