]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Offsetmapping: new "Bias" parameter that sets a custom "null point" instead of always...
authorvortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 29 Aug 2011 19:35:03 +0000 (19:35 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Tue, 30 Aug 2011 14:39:15 +0000 (16:39 +0200)
commit940c356b2e70a0f653714000141979478ae27e40
treeefd4a6a76b6454f5db445fb86705161348fb76a3
parent3a5b55a7e3887ad2cd3fdf56a9141848f72203ee
Offsetmapping: new "Bias" parameter that sets a custom "null point" instead of always having fixed one (at white), set as 0-255 byte additional "dpoffsetmapping" parm (dpoffsetmapping <technic> <scale> <bias>) a value of 128 makes offsetmapping centered at gray (no effect at gray, black is positive offset, white is negative). Additinally "dpoffsetmapping disabled" now parsed correctly. To see difference of offsetmapping bias see this shot (animated): http://omnicide.legacy-of-kain.ru/work/omnicide000137.gif

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11309 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=b2ceb93109e9c9aa188fe8cb22dde6b4d169807f
dpsoftrast.h
gl_rmain.c
model_alias.c
model_brush.c
model_shared.c
model_shared.h
model_sprite.c
shader_glsl.h
shader_hlsl.h