Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-06-02 00:10:23 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-06-02 22:16:40 +0300
commit4430bd36446beb1338da2001b0b236e0e440c386 (patch)
tree6fd23a028860e4c996420f84b5d638e5ad5c2f30 /source/blender/gpu/shaders
parent0736460dfb923eab901ebda240c76a4600578b56 (diff)
Eevee: CodeStyle: Fix naming and confusion about the hairs vectors.
Diffstat (limited to 'source/blender/gpu/shaders')
-rw-r--r--source/blender/gpu/shaders/gpu_shader_material.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_material.glsl b/source/blender/gpu/shaders/gpu_shader_material.glsl
index 795320df6b7..9c04aef894c 100644
--- a/source/blender/gpu/shaders/gpu_shader_material.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_material.glsl
@@ -2485,7 +2485,7 @@ void node_hair_info(out float is_strand, out float intercept, out float thicknes
is_strand = 1.0;
intercept = hairTime;
thickness = hairThickness;
- tangent = normalize(worldNormal); /* TODO fix naming */
+ tangent = normalize(hairTangent);
random = 0.0;
#else
is_strand = 0.0;