implemented r_shadow_culltriangles cvar (on by default), this improves lighting perfo...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 1 Mar 2007 20:07:20 +0000 (20:07 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 1 Mar 2007 20:07:20 +0000 (20:07 +0000)
commitba0396abf2259b73e83a5871e1fbb4c26f90764d
tree6748bede7ecf1b1b35b3e05a550812dfa0ef75b3
parent292da652050c1957bbee941051e358327f44f3b9
implemented r_shadow_culltriangles cvar (on by default), this improves lighting performance by reducing the amount of geometry to render, it does not add any additional cpu w
ork because similar forms of culling were already used on shadow casting triangles (which are now replaced by this), this just applies the same already computed culling to the lighting as well as the shadowing

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6927 d7cf8633-e32d-0410-b094-e92efae38249
client.h
gl_rsurf.c
model_shared.c
model_shared.h
portals.c
portals.h
r_shadow.c
r_shadow.h
todo