Fix T65042 Eevee: Hair Info Tangent Normal not working correctly
This commit is contained in:
parent
5916b09670
commit
2e4d27669b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user