]> git.xonotic.org Git - xonotic/darkplaces.git/commit
unified model skinframe loaders used for mdl, md2, md3, and bsp textures (both extern...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 22 Dec 2002 22:56:09 +0000 (22:56 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 22 Dec 2002 22:56:09 +0000 (22:56 +0000)
commitaee09d1c9af512a6dd365ae572464a4df0223207
tree9ccc6953328a6d97236687295f4010783bb46434
parentf77435313179355cb5036c9150ab243788ed73b1
unified model skinframe loaders used for mdl, md2, md3, and bsp textures (both external and internal where applicable)
imageskin_t and image_loadskin/image_freeskin functions added to image.[ch] for use by the unified skinframe loaders
added palette_nocolormap
split r_shadow_bumpscale cvar into r_shadow_bumpscale_bumpmap (for _bump textures) and r_shadow_bumpscale_basetexture (self explanatory)
now loads _norm normalmap textures (tenebrae compatibility)
_nmap normalmap texture support removed (it was broken in the previous release and I don't need to bog down the texture loader with even more unnecessary names)
r_shadow_lightattenuationpower added (default 2, to leave it looking identical to previous versions, this controls the falloff curve of light)
renamed detailtextures array to mod_shared_detailtextures and moved it and related code to model_shared.[ch]
removed progs/missile.mdl shadow casting check (in r_shadow_realtime mode) I had forgotten to remove before committing last time

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2682 d7cf8633-e32d-0410-b094-e92efae38249
13 files changed:
gl_rmain.c
gl_rsurf.c
image.c
image.h
model_alias.c
model_brush.c
model_brush.h
model_shared.c
model_shared.h
palette.c
palette.h
r_shadow.c
r_shadow.h