added polygonoffset as a texture property, used on submodels (such as
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 May 2007 06:46:44 +0000 (06:46 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 May 2007 06:46:44 +0000 (06:46 +0000)
commit50099d9c0934fe93646fa2792fa7a9657422333b
treeac27f0c2ec1fc100ba609a54fa8b55bfcd415423
parentd49ed2e06b822fe254bb51fe3ecb46d7b7ceb2d6
added polygonoffset as a texture property, used on submodels (such as
doors in q1bsp maps) to prevent zfighting if they exactly overlap a
wall, consistent with software quake (which intentionally removed the
portions of the door overlapping a wall)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7375 d7cf8633-e32d-0410-b094-e92efae38249
12 files changed:
cl_particles.c
cl_screen.c
gl_backend.c
gl_backend.h
gl_draw.c
gl_rmain.c
gl_rsurf.c
model_shared.h
r_explosion.c
r_lightning.c
r_shadow.c
r_sky.c