]> git.tdb.fi Git - libs/gl.git/commit
Normalize fragment normal
authorMikko Rasa <tdb@tdb.fi>
Tue, 23 Jun 2020 14:11:54 +0000 (17:11 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 23 Jun 2020 14:35:09 +0000 (17:35 +0300)
commit47853d7a557bf81131512832a9e531cb04d273ca
tree3cbc7689cdd8e8c9ce01ace0643db96e9071f367
parentf7d6481be3511153ded018e119bcac852faa0766
Normalize fragment normal

With some shading models even small deviations, such as result from
the quantization to 8-bit texel component values, may cause visible
artifacts.
shaderlib/common.glsl