mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
2c4af87e13
commit
79db01d7ed
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue