Hot answers tagged matrix
It looks like the translation component of your inverse model matrix is being ignored. Can you confirm this by trying it with a rotated/scaled model? (If nothing changes at all, it could be a sign that the inverse model matrix isn't being passed to the shader correctly, and so it's always using an identity matrix with no translation) If it is indeed ...
Only top voted, non community-wiki answers of a minimum length are eligible