Admins, delete this

Spotted my error after a few minutes of searching: It was a simple typo.
Please delete, thanks!

line 16: toLightVector is a vec4, so normalize(toLightVector) is also going to return vec4, but you’re assigning it a vec3.

Thanks xD

Line 1: You’re missing a full stop. ;D

Recommended reading:

Also, instead of deleting your post and removing all your code, you should generally reply with the solution so it can help other people with similar problems in the future.

Since it was a typo, it doesn’t really make sense to post the solution, I figured.