From a44dfabe262cc7e0ff8ffb5a44f8eab9cea706aa Mon Sep 17 00:00:00 2001 From: Blisto91 Date: Wed, 3 Jan 2024 15:38:22 +0100 Subject: [PATCH] [util] Set float emulation to Strict for UK Truck Simulator 1 Fixes black foliage --- src/util/config/config.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index e19dd7b7e..fb86ed56e 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -845,6 +845,11 @@ namespace dxvk { { R"(\\soniccd\.exe$)", {{ { "d3d9.maxFrameRate", "60" }, }} }, + /* UK Truck Simulator 1 */ + { R"(\\UK Truck Simulator\\bin\\win_x86\\game\.exe$)", {{ + { "d3d9.floatEmulation", "Strict" }, + }} }, + /**********************************************/ /* D3D12 GAMES (vkd3d-proton with dxvk dxgi) */