]> git.tdb.fi Git - libs/gl.git/commit
Suppoer per-light shadow casters in ShadowMap
authorMikko Rasa <tdb@tdb.fi>
Mon, 11 Oct 2021 12:40:22 +0000 (15:40 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 11 Oct 2021 12:40:22 +0000 (15:40 +0300)
commitcdedbb34eff07f188c536167592958e315d53a9b
tree2de6da1c68b005042c59e16ba958f3c15bdf6cde
parent867c4e8c34fe24146f4f8cf6bd0b27a6d99aa1a2
Suppoer per-light shadow casters in ShadowMap

Different types of lights may require different shaders for rendering
shadow maps, or it may be desirable to use different occluder geometry
for far away lights than close ones.
source/effects/shadowmap.cpp
source/effects/shadowmap.h