]> git.tdb.fi Git - libs/gl.git/commit
Clamp depth reference for shadows to 1.0
authorMikko Rasa <tdb@tdb.fi>
Tue, 14 Dec 2021 14:23:34 +0000 (16:23 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 14 Dec 2021 14:23:34 +0000 (16:23 +0200)
commit5e611353c5fcaf9219bd3037a32bce0f91313264
treee7e2eb172648c51952b5423f65c2c2b04afadd72
parentedc150206f9762facf37b419705ddb8cf21f4e4c
Clamp depth reference for shadows to 1.0

This makes objects which are "behind" the shadow map volume sample the
shadow map correctly and not treat the clear value as a shadow caster.
shaderlib/shadow.glsl