]> icculus.org git repositories - divverent/darkplaces.git/commit
check if a model's textures have deforms that need normals/tangents at load-time...
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 1 Feb 2010 10:15:46 +0000 (10:15 +0000)
committerRudolf Polzer <rpolzer@grawp.div0.qc.to>
Sat, 6 Feb 2010 18:22:37 +0000 (19:22 +0100)
commitc69216db11e75b26137a601337d31555ac4bd206
tree714d820f41948c6f63d183073f8f3d406d7acf41
parenta7ece8d966147c6a5925dd301614d91b6bca3060
check if a model's textures have deforms that need normals/tangents at load-time, and pass in appropriate flags to RSurf_ActiveModelEntity based on this when rendering models with depthonly (fixes Nexuiz flag z-fighting)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9918 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=93783908b793eb2f1df1e705cc7d29489cf409b3
gl_rmain.c
model_shared.c
model_shared.h