Skip to content

Commit

Permalink
gsdx-d3d11: Truncate fog in tfx.fx shader.
Browse files Browse the repository at this point in the history
The change should've been pushed in PCSX2#3091

Fixes regression with fog rendering.
  • Loading branch information
lightningterror committed Feb 29, 2020
1 parent 2c4af87 commit 79db01d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/GSdx/res/tfx.fx
Expand Up @@ -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;
Expand Down

0 comments on commit 79db01d

Please sign in to comment.