Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Wed Mar 15 08:19:47 EST 2006


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2006-03-15 13:19:47 UTC

Log message:

cleaning up GLSL code
moved GLSL shader setup to gl_rmain.c and made it more general, not specifically lighting shaders
cache locations of GLSL shader variables for faster access (instead of looking them up every time it renders something)
GLSL shader reworked to support deluxemap rendering and lightmap rendering, to be used in the future
merged glsl/light.frag and glsl/light.vert into glsl/default.glsl using VERTEX_SHADER and FRAGMENT_SHADER defines to differentiate parts of it

Modified files:
     gl_rmain.c r_shadow.c render.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20060315.131947.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20060315/bf398d5e/attachment.diff>


More information about the twilight-commits mailing list