]> git.tdb.fi Git - libs/gl.git/commit
Apply shadow depth bias in a different way
authorMikko Rasa <tdb@tdb.fi>
Mon, 11 Oct 2021 13:05:16 +0000 (16:05 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 11 Oct 2021 13:14:31 +0000 (16:14 +0300)
commitb733c793381e78637f52c7f77cc4f69e914918e1
treefcfe64ef8d53b1e89424b5610cd29e429d1479b5
parentbace0b24414abc7b3ba46df3a9fd7408d7479a5e
Apply shadow depth bias in a different way

It cannot be properly applied through the matrix for perspective
projection.
shaderlib/shadow.glsl
source/effects/shadowmap.cpp