General clean up
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#version 330 core
|
||||
|
||||
layout (location=0) in vec3 aPos;
|
||||
layout (location=1) in vec3 aNormal;
|
||||
layout (location=2) in vec2 aTexCoords;
|
||||
@@ -17,8 +18,8 @@ out vec4 frag_pos_light_space;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = projection * view * model * vec4(aPos, 1.0);
|
||||
fragPos = vec3(model * vec4(aPos, 1.0));
|
||||
frag_normal = normalize(mat3(norm) * aNormal);
|
||||
frag_pos_light_space = light_space_matrix * model * vec4(aPos, 1);
|
||||
gl_Position = projection * view * model * vec4(aPos, 1.0);
|
||||
fragPos = vec3(model * vec4(aPos, 1.0));
|
||||
frag_normal = normalize(mat3(norm) * aNormal);
|
||||
frag_pos_light_space = light_space_matrix * model * vec4(aPos, 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user