diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-06-02 00:10:23 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-06-02 22:16:40 +0300 |
commit | 4430bd36446beb1338da2001b0b236e0e440c386 (patch) | |
tree | 6fd23a028860e4c996420f84b5d638e5ad5c2f30 /source/blender/draw/engines/eevee/shaders/prepass_vert.glsl | |
parent | 0736460dfb923eab901ebda240c76a4600578b56 (diff) |
Eevee: CodeStyle: Fix naming and confusion about the hairs vectors.
Diffstat (limited to 'source/blender/draw/engines/eevee/shaders/prepass_vert.glsl')
-rw-r--r-- | source/blender/draw/engines/eevee/shaders/prepass_vert.glsl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/draw/engines/eevee/shaders/prepass_vert.glsl b/source/blender/draw/engines/eevee/shaders/prepass_vert.glsl index 1ed4f5f6500..f2e9e7001e8 100644 --- a/source/blender/draw/engines/eevee/shaders/prepass_vert.glsl +++ b/source/blender/draw/engines/eevee/shaders/prepass_vert.glsl @@ -15,11 +15,11 @@ void main() { #ifdef HAIR_SHADER float time, thick_time, thickness; - vec3 pos, nor, binor; - hair_get_pos_tan_nor_time( + vec3 pos, tan, binor; + hair_get_pos_tan_binor_time( (ProjectionMatrix[3][3] == 0.0), ViewMatrixInverse[3].xyz, ViewMatrixInverse[2].xyz, - pos, nor, binor, time, thickness, thick_time); + pos, tan, binor, time, thickness, thick_time); gl_Position = ViewProjectionMatrix * vec4(pos, 1.0); vec4 worldPosition = vec4(pos, 1.0); |