diff options
Diffstat (limited to 'source/blender/draw/engines/eevee/shaders/lit_surface_vert.glsl')
-rw-r--r-- | source/blender/draw/engines/eevee/shaders/lit_surface_vert.glsl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/draw/engines/eevee/shaders/lit_surface_vert.glsl b/source/blender/draw/engines/eevee/shaders/lit_surface_vert.glsl index 0a2785bafca..2b9a325e313 100644 --- a/source/blender/draw/engines/eevee/shaders/lit_surface_vert.glsl +++ b/source/blender/draw/engines/eevee/shaders/lit_surface_vert.glsl @@ -47,9 +47,7 @@ void main() hairTime, hairThickness, hairThickTime); - - hairTangent = normalize(hairTangent); - worldNormal = cross(binor, hairTangent); + worldNormal = cross(hairTangent, binor); worldPosition = pos; #else worldPosition = point_object_to_world(pos); |