]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
fixed blendfunc issues with single pass lighting (such as ambient pass) which were...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 23 Jan 2005 06:39:07 +0000 (06:39 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 23 Jan 2005 06:39:07 +0000 (06:39 +0000)
commit5c1c13dbdba9657c01a9c4b22176e560256a9937
treec5813691f600e798df885adf870f8c3767fed733
parent2de6d1f46d005bdf64c115049b0ffb9246df309d
fixed blendfunc issues with single pass lighting (such as ambient pass) which were using GL_DST_ALPHA when they shouldn't have been (fixes the 'bright shadows' issue which occurred from multiple lights in some cases)
added a usestencil variable in rtlight rendering just to make it a little more clear in the code

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4951 d7cf8633-e32d-0410-b094-e92efae38249
r_shadow.c