Get the Vertex Normal in a Shader

Ok, I solved the issue.
Changing the shading of the model fixed the issue. I changed the shading to smooth shading so the vertex normal points in the right direction.
Flat Shading resulted in the vertex pointing in the direction of the face.

1 Like