From f813549ced659358a018d657cab43e50f00ca2ab Mon Sep 17 00:00:00 2001 From: Blisto91 <47954800+Blisto91@users.noreply.github.com> Date: Sun, 20 Oct 2024 20:25:33 +0200 Subject: [PATCH] [util] Set forceSamplerTypeSpecConstants for Alpha Protocol Some objects like metal containers will have unwanted reflection when they shouldn't otherwise. --- src/util/config/config.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/util/config/config.cpp b/src/util/config/config.cpp index 49f029fa6..c15c7b9c6 100644 --- a/src/util/config/config.cpp +++ b/src/util/config/config.cpp @@ -979,14 +979,18 @@ namespace dxvk { { R"(\\SecretWorldLegends\.exe$)", {{ { "d3d9.memoryTrackTest", "True" }, }} }, - /* Far Cry 2: Set vendor ID to Nvidia to * - * avoid vegetation artifacts on Intel, and * - * set apitrace mode to True to improve perf * - * on all hardware. */ + /* Far Cry 2: Set vendor ID to Nvidia to * + * avoid vegetation artifacts on Intel, and * + * set apitrace mode to True to improve perf * + * on all hardware. */ { R"(\\(FarCry2|farcry2game)\.exe$)", {{ { "d3d9.customVendorId", "10de" }, { "d3d9.cachedDynamicBuffers", "True" }, }} }, + /* Alpha Protocol - Rids unwanted reflections */ + { R"(\\APGame\.exe$)", {{ + { "d3d9.forceSamplerTypeSpecConstants", "True" }, + }} }, /**********************************************/ /* D3D8 GAMES */