removed redundant v_Normal in shader (#938)
This commit is contained in:
parent
72b2fc9843
commit
f3b49e44c9
@ -17,7 +17,6 @@ layout(set = 2, binding = 0) uniform Transform {
|
|||||||
};
|
};
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
v_Normal = (Model * vec4(Vertex_Normal, 1.0)).xyz;
|
|
||||||
v_Normal = mat3(Model) * Vertex_Normal;
|
v_Normal = mat3(Model) * Vertex_Normal;
|
||||||
v_Position = (Model * vec4(Vertex_Position, 1.0)).xyz;
|
v_Position = (Model * vec4(Vertex_Position, 1.0)).xyz;
|
||||||
v_Uv = Vertex_Uv;
|
v_Uv = Vertex_Uv;
|
||||||
|
Loading…
Reference in New Issue
Block a user