Files
blender/intern/cycles/kernel
Sergey Sharybin 3f4c0612fe 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
2015-10-11 19:43:30 +05:00
..
2015-10-10 17:35:30 +02:00
2015-08-23 21:12:48 +10:00
2015-05-09 19:52:40 +05:00
2015-05-09 19:52:40 +05:00
2015-05-09 19:52:40 +05:00
2015-08-23 21:12:48 +10:00