]> git.xonotic.org Git - xonotic/darkplaces.git/commit
redesigned r_shadow_bouncegrid_static_directionalshading - it now uses 6
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 9 Apr 2011 17:09:18 +0000 (17:09 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 10 Apr 2011 19:06:09 +0000 (21:06 +0200)
commit3f86e38c7904b9f4994568232bf34b751eed70d2
tree0cc7c07b0fd79d704750c4da671842494435787b
parentf042a2dc21a99aa67411122e55cf418e1e2ee8af
redesigned r_shadow_bouncegrid_static_directionalshading - it now uses 6
vectors per pixel instead of 3, giving much more accurate shading
added r_shadow_bouncegrid_includedirectlighting cvar - if turned on this
enables direct lighting in the bouncegrid
cleaned up directionalshading code significantly

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11041 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=db7cb0d2dd2d8aa7fb7dba7b9b6bf193d8df6d34
r_shadow.c
shader_glsl.h