]> 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)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 9 Apr 2011 17:09:18 +0000 (17:09 +0000)
commitdb7cb0d2dd2d8aa7fb7dba7b9b6bf193d8df6d34
tree829b3ea233e73ca79356ef3ca48e25c3341328d6
parent2863cd77fef4da463a30486c7ac2dffe0d9639eb
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
r_shadow.c
shader_glsl.h