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)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 21 Nov 2010 12:26:19 +0000 (12:26 +0000)
commitdd5644411f46bfeaf512d86eb5ae5fbc3a3b0adf
treeca60dbe44d1a5f5925e6cccdb4effaa63fa274bc
parente4e9ebace60585c6cfb51cafda868761e8d21458
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
gl_rmain.c
model_alias.c
model_brush.c