From 265eeeeac39ed54adb58e55e1ee82c9213c07cb9 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Mon, 5 Dec 2016 16:30:07 -1000 Subject: [PATCH] CFogState::m_rangeScale fog disable corner case handling --- Runtime/Graphics/CGraphics.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Runtime/Graphics/CGraphics.cpp b/Runtime/Graphics/CGraphics.cpp index 1f49352b6..fe8e7caeb 100644 --- a/Runtime/Graphics/CGraphics.cpp +++ b/Runtime/Graphics/CGraphics.cpp @@ -71,6 +71,7 @@ void CGraphics::SetFog(ERglFogMode mode, float startz, float endz, const zeus::C if (mode == ERglFogMode::None) { g_Fog.m_start = 4096.f; + g_Fog.m_rangeScale = 1.f; } else {