mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 02:00:15 +01:00
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:
1 parent
2c4af87e13
commit
79db01d7ed
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user