]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Offsetmapping now could be customized on per-texture basis. Added mod_q3shader_defaul...
authorvortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 21 Feb 2010 01:52:02 +0000 (01:52 +0000)
committerRudolf Polzer <rpolzer@grawp.div0.qc.to>
Fri, 26 Feb 2010 11:50:52 +0000 (12:50 +0100)
commit0c7e58088735fc510f35f3a3230fe82b1f9c0698
tree306f8c17d34d690d21e632a6b4fbc4d693b85d8a
parent46e915ec7b107b6db442248f3a6a49b12e21fea7
Offsetmapping now could be customized on per-texture basis. Added mod_q3shader_default_offsetmapping cvar which is 1 by default (offsetmapping is on by default on all surfs), and 0 (only shader-set). New q3shader keyword "dp_offsetmapping <type> <scale>". Typical example: "dp_offsetmapping default 2". Types are "off", "default" (legacy cvar-based behavior), "linear" and "relief". Linear/relief is forced modes that ignores r_glsl_offsetmapping_reliefmapping.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9993 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=7995f9f34c59e9f4a33a549d5bee58c5af43ea11
gl_rmain.c
model_alias.c
model_brush.c
model_shared.c
model_shared.h
model_sprite.c