]> 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)
committervortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 29 Aug 2011 19:35:03 +0000 (19:35 +0000)
commitb2ceb93109e9c9aa188fe8cb22dde6b4d169807f
tree79a166282346ae442d86fa675e9c4f8ffe0d553b
parent746a56a1fccc8b4577c9fddd0b4fcd5e33df5d89
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
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