From 25b22fe8d6f609f319573a2d3cabd208ca9b6f3a Mon Sep 17 00:00:00 2001 From: #xoxor4d Date: Sat, 21 Dec 2024 18:53:21 +0100 Subject: [PATCH] fix culling issue on sp_a3_01 (water refraction) #73 --- src/components/modules/main_module.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/modules/main_module.cpp b/src/components/modules/main_module.cpp index 5d62089..fc8261e 100644 --- a/src/components/modules/main_module.cpp +++ b/src/components/modules/main_module.cpp @@ -2012,6 +2012,10 @@ namespace components } game::cvar_uncheat_and_set_int("r_dopixelvisibility", 0); // hopefully fix random crash (dxvk cmdBindPipeline) on map load + + game::cvar_uncheat_and_set_int("r_WaterDrawRefraction", 0); // fix weird culling behaviour near water surfaces + game::cvar_uncheat_and_set_int("r_WaterDrawReflection", 0); // perf? + game::cvar_uncheat_and_set_int("r_PortalTestEnts", 0); game::cvar_uncheat_and_set_int("portal_ghosts_disable", 0); game::cvar_uncheat_and_set_int("r_portal_earlyz", 0);