From 7ba0818b8300f1b7c7f9e2aea002b3829654817c Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 28 Sep 2025 18:32:53 +0500 Subject: [PATCH] engine: client: change r_pvs_radius default value to 0.1 for more accurate pvs culling and free performance --- engine/client/ref_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/ref_common.c b/engine/client/ref_common.c index f6efe961..ee85c527 100644 --- a/engine/client/ref_common.c +++ b/engine/client/ref_common.c @@ -19,7 +19,7 @@ CVAR_DEFINE_AUTO( gl_clear, "0", FCVAR_ARCHIVE, "clearing screen after each fram CVAR_DEFINE_AUTO( r_showtree, "0", FCVAR_ARCHIVE, "build the graph of visible BSP tree" ); static CVAR_DEFINE_AUTO( r_refdll, "", FCVAR_RENDERINFO, "choose renderer implementation, if supported" ); static CVAR_DEFINE_AUTO( r_refdll_loaded, "", FCVAR_READ_ONLY, "currently loaded renderer" ); -static CVAR_DEFINE_AUTO( r_pvs_radius, "2.0", FCVAR_ARCHIVE, "increase amount of potentially visible leaves by this radius" ); +static CVAR_DEFINE_AUTO( r_pvs_radius, "0.1", FCVAR_ARCHIVE, "increase amount of potentially visible leaves by this radius" ); // there is no need to expose whole host and cl structs into the renderer // but we still need to update timings accurately as possible