Skip to content
Permalink
Browse files

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

The change should've been pushed in #3091

Fixes regression with fog rendering.
  • Loading branch information
lightningterror committed Feb 28, 2020
1 parent 2c4af87 commit 79db01d7ed01a4f3de06a8d8dc5c5e7099ef9d2e
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/GSdx/res/tfx.fx
@@ -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;

0 comments on commit 79db01d

Please sign in to comment.
You can’t perform that action at this time.