gsdx-d3d11: Truncate fog in tfx.fx shader.

The change should've been pushed in #3091

Fixes regression with fog rendering.
This commit is contained in:
lightningterror 2020-02-28 02:08:47 +01:00
parent 2c4af87e13
commit 79db01d7ed
1 changed files with 1 additions and 1 deletions

View File

@ -604,7 +604,7 @@ float4 fog(float4 c, float f)
{
if(PS_FOG)
{
c.rgb = lerp(FogColor, c.rgb, f);
c.rgb = trunc(lerp(FogColor, c.rgb, f));
}
return c;