merged static and dynamic rtlight handling almost entirely (even uses DrawShadowVolum...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 13 Mar 2004 23:30:20 +0000 (23:30 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 13 Mar 2004 23:30:20 +0000 (23:30 +0000)
commitbc89be2fc84ac06c2c8c378c3936b8d982dc76ec
tree79077be6cb99880aea58f513a729e3969c28cf8d
parentb2a1ec8cb2a845e6440d0dbc5a9a84464f3deecc
merged static and dynamic rtlight handling almost entirely (even uses DrawShadowVolume and DrawLight to generate cached meshes - however this currently lost the r_shadow_portallight optimizations)
added a surfacelist to model_t containing surface indices for each submodel
merged R_Shadow_DiffuseLighting and R_Shadow_SpecularLighting into R_Shadow_RenderLighting (which takes a lighting parameter containing LIGHTING_DIFFUSE and LIGHTING_SPECULAR flags)
commented out cullradius/cullradius2 in rtlight structs because they weren't used

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