]> git.tdb.fi Git - libs/gl.git/commit
Use the shadow camera's projection matrix to form the shadow matrix
authorMikko Rasa <tdb@tdb.fi>
Thu, 7 Oct 2021 15:04:19 +0000 (18:04 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 7 Oct 2021 22:15:27 +0000 (01:15 +0300)
commita313d4a1050815d987f855cafaea046dba158625
tree24dac9d8a27e18d05bcb5f669f720bc7bf0407b7
parent829d3bd891414405a4d388d22476ba1a98b654c3
Use the shadow camera's projection matrix to form the shadow matrix

This makes it easier to support different types of projection, such as
perspective projection for point lights.
source/effects/shadowmap.cpp