11 years, 3 months ago
Highlights
The matrix you use to transform the normals is wrong. You're only using the model matrix when you should use the inverse of the transpose of the model view matrix, that is the m…
11 years, 3 months ago
11 years, 6 months ago
Moreover, division is just multiplying the multiplicand with the inverse of the multiplier, which reinforce the fact that division has the same priority as multiplication.  …
11 years, 6 months ago
11 years, 9 months ago
You are multiplying your matrices in the inverse order. The line: mvp = transform * projection; Should be: mvp = projection * transform; This is because you are setting the thir…
11 years, 9 months ago
Latest Activity
See all in DiscussionsThe matrix you use to transform the normals is wrong. You're only using the model matrix when you should use …
11 years, 3 months ago
Moreover, division is just multiplying the multiplicand with the inverse of the multiplier, which reinforce the fact that division has …
11 years, 6 months ago
You are multiplying your matrices in the inverse order. The line: mvp = transform * projection; Should be: mvp = …
11 years, 9 months ago