Skip to content

Commit f3b49e4

Browse files
authored
removed redundant v_Normal in shader (#938)
1 parent 72b2fc9 commit f3b49e4

File tree

1 file changed

+0
-1
lines changed
  • crates/bevy_pbr/src/render_graph/forward_pipeline

1 file changed

+0
-1
lines changed

crates/bevy_pbr/src/render_graph/forward_pipeline/forward.vert

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ layout(set = 2, binding = 0) uniform Transform {
1717
};
1818

1919
void main() {
20-
v_Normal = (Model * vec4(Vertex_Normal, 1.0)).xyz;
2120
v_Normal = mat3(Model) * Vertex_Normal;
2221
v_Position = (Model * vec4(Vertex_Position, 1.0)).xyz;
2322
v_Uv = Vertex_Uv;

0 commit comments

Comments
 (0)