]> icculus.org git repositories - divverent/darkplaces.git/commit - render.h
added r_shadow_usenormalmap cvar which allows you to disable directional shading...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 29 Mar 2007 00:39:50 +0000 (00:39 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 29 Mar 2007 00:39:50 +0000 (00:39 +0000)
commit36ffe29e7eeb80cc074c47ab4adf2e0d237ac793
tree2a4be27094393a83006a472102c4e71799877220
parent491df26e7e8c66fab2db0c89d2017a815986c0d7
added r_shadow_usenormalmap cvar which allows you to disable directional shading on rtlights, looking a bit more like glquake lights, this also renders somewhat faster so it may be of use as a performance tweak for some cards
added an optimized ambient-without-diffuse path in the GLSL shader to help r_shadow_usenormalmap 0 performance

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