Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Fri Aug 9 17:14:23 EDT 2002


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2002-08-09 21:14:22 UTC

Log message:

rewrote most of the RSurfShader_ functions to use R_Mesh_Draw_GetBuffer instead of R_Mesh_Draw

r_modellights replaced r_lightmodels, r_modellights sets limit on how many directional lights will be shaded onto the model (only the brightest are chosen)

cleaned up lighting code a lot, it is now consistent between static and dynamic light sources, and the light radius has been reduced

unfortunately this commit seems to have slowed down the engine a bit, and I don't know why, it should be a speed gain

Modified files:
     gl_rsurf.c menu.c r_light.c r_light.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20020809.211422.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20020809/952bc0f6/attachment.diff>


More information about the twilight-commits mailing list