]> git.tdb.fi Git - libs/gl.git/commit
Normalize vertex normal and tangent vectors in vertex shader
authorMikko Rasa <tdb@tdb.fi>
Wed, 9 Mar 2022 18:31:03 +0000 (20:31 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 9 Mar 2022 18:31:03 +0000 (20:31 +0200)
commit139924448ef4753b3942da07091a2630a037c034
tree053b3ae45a38d7734288a91207712768be2cfca7
parentef891fe4bf86704c37b4269d1aca190405455c12
Normalize vertex normal and tangent vectors in vertex shader

If the normal matrix has scaling, that can throw things off.
shaderlib/common.glsl