Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Sat Aug 24 03:14:26 EDT 2002


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2002-08-24 07:14:26 UTC

Log message:

detail texturing added (although with just one generated texture applied to everything)
detail texturing makes use of up to 3 texture units if you have combine
detail texturing added to effects options menu (r_detailtextures cvar)
surfvertex_t now has another set of texcoords, for detail texturing
Mod_BrushStartup and Mod_BrushShutdown functions added to alloc/free the detail texture
r_multitexture cvar renamed to r_textureunits, so you can limit number of texture units enabled for testing, rather than just as a yes/no kind of option
gl_combine is forced to 0 if r_textureunits is less than 2 (this is purely for consistency, not of any importance)
split up the wall rendering into two kinds - vertex lit with optional transparency, and opaque lightmapped with no support for transparency
R_Mesh_Draw_GetBuffer now takes a wantoverbrights parameter, if false it will not use the 4x overbright (even if combine is enabled), this is useful to improve the color precision of anything which does not need overbright
fixed crosshair brightness (it was unintentionally adjusting the alpha using m.colorscale just like the RGB portion of the color)
sprites only use overbright if they are lit (normal unlit sprites are rendered without overbright)

Modified files:
     cl_particles.c gl_backend.c gl_backend.h gl_models.c gl_rmain.c
     gl_rsurf.c menu.c model_brush.c model_brush.h model_shared.c
     r_crosshairs.c r_explosion.c r_light.c r_sky.c r_sprites.c
     render.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20020824.071426.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20020824/2b75edb0/attachment.diff>


More information about the twilight-commits mailing list