- tewaked the distance calculation in the shader to improve palette emulation brightness.

Fixes #393
This commit is contained in:
Christoph Oelckers 2020-09-15 22:16:51 +02:00
parent b26a5b800e
commit 3188ff4a79

View file

@ -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
{