Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Sun Apr 2 04:12:54 EDT 2006


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2006-04-02 08:12:54 UTC

Log message:

some cleanup of the GLSL shader, no longer uses #ifdef variable declarations because the shader compiler removes unused variables anyway, and now always calculates the eye vector for simplicity reasons
removed the SURFACENORMALIZE option (now always on, since it doesn't cost much render time and was on by default)
removed all use and detection of half floats (these were originally around 11% speedup on GF6 hardware but but in more recent drivers they've dropped to around 3-6%, and spit out a lot of warnings during shader compilation with no apparent way to fix the warnings)

Modified files:
     gl_rmain.c glquake.h render.h vid_shared.c
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20060402.081254.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20060402/52195769/attachment.diff>


More information about the twilight-commits mailing list