Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Mon Mar 22 05:04:58 EST 2004


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2004-03-22 10:04:58 UTC

Log message:

worked around an ATI driver bug with glColor during GL_EXT_compiled_vertex_array locks being ignored - R_Shadow_RenderLighting dot3 paths now lock around each pass instead of the whole set of final passes - ATI PLEASE FIX THIS, the GL_EXT_compiled_vertex_array spec says all settings can be changed during a lock!
reorganized R_Shadow_RenderLighting to reduce code duplication a bit
enabled scissor without stencil support (the bug was in the lack of a valid projectmatrix)
added 3 tmu vertex lighting path (uses XYZ attenuation via textures, and vertex shading) which is mainly for use on 3+ tmu cards in 16bit color mode
renamed R_Shadow_VertexLighting functions to R_Shadow_VertexShading and made their names more clear
fixed a bug in the R_Shadow_VertexShading math (now normalizes the vertex->light vector as well as normal vector)
made some functions static
added an #ifndef USETEXMATRIX around the cpu matrix transform functions as they're not used anymore due to USETEXMATRIX code

Modified files:
     r_shadow.c
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20040322.100458.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20040322/2c725a5d/attachment.diff>


More information about the twilight-commits mailing list