From 27fba9acce17bc2f6a417d4bf5a86f39477be927 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Fri, 2 Oct 2020 04:07:06 +0000 Subject: [PATCH] Revert "model_brush: Set mod_bsp_portalize to 0 by default for now. It hurts performance even if r_useportalculling is < 2" This reverts commit 89a8bc7d7b02bcb9778d500c351c886d4fcfe694. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12990 d7cf8633-e32d-0410-b094-e92efae38249 --- model_brush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model_brush.c b/model_brush.c index 06bc1ed2..cc52e72e 100644 --- a/model_brush.c +++ b/model_brush.c @@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. //cvar_t r_subdivide_size = {CF_CLIENT | CF_ARCHIVE, "r_subdivide_size", "128", "how large water polygons should be (smaller values produce more polygons which give better warping effects)"}; -cvar_t mod_bsp_portalize = {CF_CLIENT | CF_SERVER, "mod_bsp_portalize", "0", "enables portal generation from BSP tree (may take several seconds per map), used by r_drawportals, r_useportalculling, r_shadow_realtime_world_compileportalculling, sv_cullentities_portal"}; +cvar_t mod_bsp_portalize = {CF_CLIENT | CF_SERVER, "mod_bsp_portalize", "1", "enables portal generation from BSP tree (may take several seconds per map), used by r_drawportals, r_useportalculling, r_shadow_realtime_world_compileportalculling, sv_cullentities_portal"}; cvar_t r_novis = {CF_CLIENT, "r_novis", "0", "draws whole level, see also sv_cullentities_pvs 0"}; cvar_t r_nosurftextures = {CF_CLIENT, "r_nosurftextures", "0", "pretends there was no texture lump found in the q1bsp/hlbsp loading (useful for debugging this rare case)"}; cvar_t r_subdivisions_tolerance = {CF_CLIENT, "r_subdivisions_tolerance", "4", "maximum error tolerance on curve subdivision for rendering purposes (in other words, the curves will be given as many polygons as necessary to represent curves at this quality)"}; -- 2.39.2