mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 19:20:46 +00:00
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:
parent
e8c2250d0a
commit
008334e7a9
1 changed files with 1 additions and 1 deletions
|
@ -1297,7 +1297,7 @@ static float alpha = 0.f;
|
||||||
static pthtyp *our_texcache_fetch(int32_t dameth)
|
static pthtyp *our_texcache_fetch(int32_t dameth)
|
||||||
{
|
{
|
||||||
// r_usetileshades 1 is TX's method.
|
// 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);
|
return texcache_fetch(globalpicnum, globalpal, getpalookup(vis,globalshade), dameth);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue