diff options
author | Mikhail Matrosov <kdtfly> | 2021-05-19 13:09:29 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2021-05-19 13:14:07 +0300 |
commit | a294670bacb1db66ca0aad29df5752b10b8ba7fd (patch) | |
tree | 11d0745e7d5c569ece28c1ee3ae47653394a0b0f /source/blender/gpu/shaders/material/gpu_shader_material_subsurface_scattering.glsl | |
parent | 5239198f177ad26e25e5f3608cd7e092065e2d8f (diff) |
EEVEE: Geometry info -> tangent: Make consistent with Cycles for hair
Changes output for geometry info node in Eevee to be consistent with Cycles (w/o osl)
Before this patch Eevee outputs Z-tangent even for hair. This patch changes it to output hair tangent (growth direction). Hair tangent is impossible to derive otherwise from normal or view direction.
Reviewed By: fclem, brecht
Differential Revision: https://developer.blender.org/D10841
Diffstat (limited to 'source/blender/gpu/shaders/material/gpu_shader_material_subsurface_scattering.glsl')
0 files changed, 0 insertions, 0 deletions