]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
use r_smoothnormals_areaweighting cvar on all calls to Mod_BuildNormals
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 21 Nov 2010 12:26:19 +0000 (12:26 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 21 Nov 2010 13:10:16 +0000 (14:10 +0100)
commite4396226b9d0c5e86cefa4d9bb4f2830592a6b53
treeca60dbe44d1a5f5925e6cccdb4effaa63fa274bc
parent27dede7ff3ed7315469b29e8fa0d9270a6653914
use r_smoothnormals_areaweighting cvar on all calls to Mod_BuildNormals
and Mod_BuildTextureVectorsFromNormals - rather than assuming the artist
wanted area weighted, as if the normalmap was baked for
non-area-weighted tangents this just yields wrong results

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10621 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=dd5644411f46bfeaf512d86eb5ae5fbc3a3b0adf
gl_rmain.c
model_alias.c
model_brush.c