mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
removed redundant v_Normal in shader (#938)
This commit is contained in:
parent
72b2fc9843
commit
f3b49e44c9
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue