Skip to content

Commit

Permalink
removed redundant v_Normal in shader (#938)
Browse files Browse the repository at this point in the history
  • Loading branch information
nic96 authored Nov 28, 2020
1 parent 72b2fc9 commit f3b49e4
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ layout(set = 2, binding = 0) uniform Transform {
};

void main() {
v_Normal = (Model * vec4(Vertex_Normal, 1.0)).xyz;
v_Normal = mat3(Model) * Vertex_Normal;
v_Position = (Model * vec4(Vertex_Position, 1.0)).xyz;
v_Uv = Vertex_Uv;
Expand Down

0 comments on commit f3b49e4

Please sign in to comment.