Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Wed Feb 1 10:11:56 EST 2006


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2006-02-01 15:11:56 UTC

Log message:

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)

Modified files:
     gl_rmain.c r_shadow.c
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20060201.151156.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20060201/887f3760/attachment.diff>


More information about the twilight-commits mailing list