From 431b9e76be390afe520464b81861aeb27955ddbd Mon Sep 17 00:00:00 2001 From: Jonathan Hamilton Date: Thu, 28 Jun 2018 02:50:52 +0000 Subject: [PATCH] Set arbitrary mipmap detection threshold default to 14 Now the detection heuristic has changed, the old value is no longer valid. Some example thresholds for known mipmap effects that should trigger: SMG's lava has a mimimum difference of ~17.8, SMG2's clouds have a minimum difference of ~14.8, and Wind Waker's foam has a minimum difference of ~15 Non-triggering examples were tested and all had a calculated difference lower than 3. So a value of 14 should lean towards false-negatives instead of positives, but this is clearly incomplete testing and may require further tweaks later. --- Source/Core/Core/Config/GraphicsSettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Config/GraphicsSettings.cpp b/Source/Core/Core/Config/GraphicsSettings.cpp index 98a5c13bcf..3a2a40a6d7 100644 --- a/Source/Core/Core/Config/GraphicsSettings.cpp +++ b/Source/Core/Core/Config/GraphicsSettings.cpp @@ -110,7 +110,7 @@ const ConfigInfo GFX_ENHANCE_DISABLE_COPY_FILTER{ const ConfigInfo GFX_ENHANCE_ARBITRARY_MIPMAP_DETECTION{ {System::GFX, "Enhancements", "ArbitraryMipmapDetection"}, true}; const ConfigInfo GFX_ENHANCE_ARBITRARY_MIPMAP_DETECTION_THRESHOLD{ - {System::GFX, "Enhancements", "ArbitraryMipmapDetectionThreshold"}, 4.5f}; + {System::GFX, "Enhancements", "ArbitraryMipmapDetectionThreshold"}, 14.0f}; // Graphics.Stereoscopy