Slightly tweak r_usetileshades 1 visibility weighting. It's still not right (and it's impossible to ever truly be right) but at least things aren't pitch black now. I considered changing r_usetileshades to default to 2, but there are some areas where mode 2 is also noticeably darker than it should be... the exit area of E1L1 is a prime example.

git-svn-id: https://svn.eduke32.com/eduke32@4028 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2013-08-20 21:49:59 +00:00
parent e8c2250d0a
commit 008334e7a9

View file

@ -1297,7 +1297,7 @@ static float alpha = 0.f;
static pthtyp *our_texcache_fetch(int32_t dameth)
{
// r_usetileshades 1 is TX's method.
int32_t vis = (r_usetileshades == 1) ? globvis>>2 : 0;
int32_t vis = (r_usetileshades == 1) ? globvis>>3 : 0;
return texcache_fetch(globalpicnum, globalpal, getpalookup(vis,globalshade), dameth);
}