Open aorandexiaohai opened 1 year ago
suppose that M = view * model
Now, the normal matrix is N = glm::mat3(M).
But, actually, it should be the inverse transpose matrix of N.
suppose that M = view * model
Now, the normal matrix is N = glm::mat3(M).
But, actually, it should be the inverse transpose matrix of N.