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
..
closure Cycles: Fix for transmissive microfacet sampling 2015-07-31 13:46:58 +02:00
geom Cycles: Fix wrong intersection with motion blur and degenerate object transform 2015-10-09 15:58:03 +05:00
kernels Cycles: Prepare for more image extension types support 2015-07-28 14:14:24 +02:00
osl Fix various compiler warnings. 2015-10-10 17:35:30 +02:00
shaders Cycles: Add an interpolation option to environment textures 2015-10-08 15:45:45 +02:00
split Cleanup: spelling/style 2015-08-23 21:12:48 +10:00
svm Fix T45058: Cycles hair shader reflects incorrectly for meshes 2015-10-11 19:43:30 +05:00
CMakeLists.txt Cycles: Add voxel texture sampler shader node 2015-07-18 22:09:20 +02:00
kernel_accumulate.h Cycles: Avoid compilation warnings when building without passes support 2015-06-13 19:07:48 +02:00
kernel_bake.h Cycles: Cleanup, whitespace around keywords 2015-10-08 19:08:28 +05:00
kernel_camera.h Fix T45721: Panoramic render in Cycles camera : depth of field issue with bump maps - patch by Brecht Van Lommel 2015-08-07 15:04:12 -03:00
kernel_compat_cpu.h Cycles: Cleanup, whitespace around keywords 2015-10-08 19:08:28 +05:00
kernel_compat_cuda.h Cycles: OpenCL kernel split 2015-05-09 19:52:40 +05:00
kernel_compat_opencl.h Cycles: OpenCL kernel split 2015-05-09 19:52:40 +05:00
kernel_debug.h Cycles: Add debug pass which shows number of instance pushes during camera ray intersection 2015-06-12 00:12:03 +02:00
kernel_differential.h Cycles: OpenCL kernel split 2015-05-09 19:52:40 +05:00
kernel_emission.h Cleanup: Remove some outdated comments related to split kernel. 2015-05-21 20:32:20 +02:00
kernel_film.h Cycles: Use native saturate function for CUDA 2015-04-28 00:38:32 +05:00
kernel_globals.h Cycles: OpenCL kernel split 2015-05-09 19:52:40 +05:00
kernel_jitter.h Cycles: Code cleanup, spaces around keywords 2015-03-28 00:15:15 +05:00
kernel_light.h Cycles: Attempt to fix 32bit CUDA kernels 2015-09-09 18:23:49 +05:00
kernel_math.h Cycles: Add fast math function module 2015-01-31 01:49:41 +05:00
kernel_montecarlo.h Cycles code refactor: minor refactoring and comments for volume code. 2014-03-29 13:03:49 +01:00
kernel_passes.h Cycles: OpenCL kernel split 2015-05-09 19:52:40 +05:00
kernel_path_branched.h Cleanup: Style in for loops header. 2015-06-29 00:56:04 +02:00
kernel_path_common.h Cycles: OpenCL kernel split 2015-05-09 19:52:40 +05:00
kernel_path_state.h Cycles: OpenCL kernel split 2015-05-09 19:52:40 +05:00
kernel_path_surface.h Cycles: Make sure ray direction is always normalized 2015-10-09 15:58:03 +05:00
kernel_path_volume.h Cycles: Simplify volume light connect code. 2015-03-13 00:09:13 +01:00
kernel_path.h Cycles: Move branched path tracking into own file 2015-06-15 23:02:42 +02:00
kernel_projection.h Cycles: Add Mirror ball mapping to camera panorama options 2015-04-25 23:51:56 +02:00
kernel_queues.h Cycles: Code cleanup in split kernel, whitespaces 2015-07-03 11:03:56 +02:00
kernel_random.h Cycles: OpenCL kernel split 2015-05-09 19:52:40 +05:00
kernel_shader.h Cycles: Fix issue in closure merge function. 2015-07-29 22:04:36 +02:00
kernel_shaderdata_vars.h Cycles: OpenCL kernel split 2015-05-09 19:52:40 +05:00
kernel_shadow.h Cleanup: Remove some outdated comments related to split kernel. 2015-05-21 20:32:20 +02:00
kernel_subsurface.h Cleanup: Fix Cycles Apache header. 2014-12-25 02:50:24 +01:00
kernel_textures.h Cycles: Split BVH nodes storage into inner and leaf nodes 2015-04-20 17:29:51 +05:00
kernel_types.h Cleanup: spelling/style 2015-08-23 21:12:48 +10:00
kernel_volume.h Cleanup: Fix some typos in volume code comments. 2015-08-31 18:14:51 +02:00
kernel_work_stealing.h Cycles: OpenCL kernel split 2015-05-09 19:52:40 +05:00
kernel.h Cycles: Prepare for more image extension types support 2015-07-28 14:14:24 +02:00
SConscript Cycles: Restructure kernel files organization 2015-05-22 16:31:34 +05:00