Normal is not modified
This commit is contained in:
parent
066ec023f2
commit
8795c0aa17
|
@ -11,7 +11,7 @@ out vec2 v_tex_coords;
|
|||
out vec3 v_normal;
|
||||
|
||||
void main() {
|
||||
v_normal = transpose(inverse(mat3(view))) * normal;
|
||||
v_normal = normal;
|
||||
v_tex_coords = tex_coords;
|
||||
|
||||
gl_Position = perspective * view * vec4(vertex, 1.0);
|
||||
|
|
Loading…
Reference in New Issue