mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +00:00
- tewaked the distance calculation in the shader to improve palette emulation brightness.
Fixes #393
This commit is contained in:
parent
b26a5b800e
commit
3188ff4a79
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ vec4 ProcessTexel()
|
|||
float z;
|
||||
if (((uPalLightLevels >> 8) & 0xff) == 2)
|
||||
{
|
||||
z = distance(pixelpos.xyz, uCameraPos.xyz);
|
||||
z = distance(pixelpos.xyz, uCameraPos.xyz)*0.7;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue