]> icculus.org git repositories - divverent/darkplaces.git/commit
changed renderer to check ent->colormap_pantscolor and ent->colormap_shirtcolor inste...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 1 Feb 2006 15:11:46 +0000 (15:11 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 1 Feb 2006 15:11:46 +0000 (15:11 +0000)
commit448c3e28f140edfc4f8065665e9cb590101a2d6f
treee5b52dbbc4006f56f31eb59af4141f178b32c480
parentd159736a199e4043ed98cde48f6d5716ec40845c
changed renderer to check ent->colormap_pantscolor and ent->colormap_shirtcolor instead of ent->colormap to detect whether to use colormapping on a model, this should reduce chance of bugs in lighting code
also optimized the R_Shadow_RenderSurfacesLighting function a bit to have separate handling of colormapped and non-colormapped surfaces (probably a small speed gain, and reduces chance of bugs in lighting code)

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