Skip to content

Commit

Permalink
[dataflow-rendering-shaders] add missing ouput in no-light vertex shader
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasPaulin committed Mar 24, 2023
1 parent ee2e1f7 commit 51b90e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Dataflow/Rendering/Shaders/shader_nolight.vert.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ layout (location = 1) out vec3 out_normal;
layout (location = 2) out vec3 out_texcoord;
layout (location = 3) out vec3 out_vertexcolor;
layout (location = 4) out vec3 out_tangent;

layout (location = 5) out vec3 out_viewVector;

void main()
{
Expand All @@ -34,4 +34,5 @@ void main()
out_normal = normal;
out_tangent = tangent;
out_vertexcolor = in_color.rgb;
out_viewVector = normalize(eye - pos.xyz);
}

0 comments on commit 51b90e1

Please sign in to comment.