]> git.tdb.fi Git - libs/gl.git/commit
Refactor ShadowMap to allow different types of lights
authorMikko Rasa <tdb@tdb.fi>
Mon, 11 Oct 2021 12:57:50 +0000 (15:57 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 11 Oct 2021 13:14:31 +0000 (16:14 +0300)
commitbace0b24414abc7b3ba46df3a9fd7408d7479a5e
tree65719fa56486c7edb5415ee3190660308e2b30dd
parentcdedbb34eff07f188c536167592958e315d53a9b
Refactor ShadowMap to allow different types of lights

Omnidirectional lights will need more than one view per light.
shaderlib/shadow.glsl
source/effects/shadowmap.cpp
source/effects/shadowmap.h