]> git.tdb.fi Git - libs/gl.git/commit
Provide the necessary uniforms from ShadowMap
authorMikko Rasa <tdb@tdb.fi>
Tue, 28 Aug 2012 07:50:17 +0000 (10:50 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 28 Aug 2012 07:50:17 +0000 (10:50 +0300)
commita6c45f5cc50ea2ee2aecf8d4f3b69934e69c8f3f
treea23e054c37190e28613d10cbfe961245e49558ea
parent0c731643d6363eb4c492e836ffb919cb7c0a3035
Provide the necessary uniforms from ShadowMap

With the recent changes to the Effect and Renderer, it's finally possible
to avoid the need to specify the shadow map texture unit everywhere, and
get rid of the hardcoded gl_EyePlane* indices.
source/program.cpp
source/shadowmap.cpp
source/shadowmap.h