Fix T65042 Eevee: Hair Info Tangent Normal not working correctly

This commit is contained in:
Clément Foucault 2019-06-04 12:29:05 +02:00
parent 5916b09670
commit 2e4d27669b
Notes: blender-bot 2023-02-14 02:27:56 +01:00
Referenced by issue #65042, Hair Info Tangent Normal -> Principled BDSF Normal not working correctly
1 changed files with 1 additions and 1 deletions

View File

@ -3405,7 +3405,7 @@ void node_hair_info(out float is_strand,
is_strand = 1.0;
intercept = hairTime;
thickness = hairThickness;
tangent = normalize(hairTangent);
tangent = normalize(worldNormal);
random = wang_hash_noise(
uint(hairStrandID)); /* TODO: could be precomputed per strand instead. */
#else