From a7689f273f3936bb459ddb82f3447fd4593a93e2 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 7 Nov 2010 17:16:12 +0100 Subject: [PATCH] revert the polygonoffset-for-decals-behind-warpzone fix as it doesn't really work --- defaultXonotic.cfg | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index fd8a77068..c38cf5ff5 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -2001,13 +2001,11 @@ seta cl_allow_uid2name -1 "-1 = ask if the player wants to disable/enable this f // polygonoffset for submodel SUCKS SUCKS SUCKS (only a hack for quake1, we don't need that) r_polygonoffset_submodel_offset 0 r_polygonoffset_submodel_factor 0 -// workaround for "decals flicker all the time" - note that this polygonoffset still is not perfect, also, why do decals need higher polygonoffset when in a warpzone -// this workaround causes decals to sometimes be visible through walls! (not seen it happen yet though other than on zfightometer) -// once the issue is found, please revert back to the default of -14 -r_polygonoffset_decals_offset -100 +// decals: need a higher polygonoffset than default to not compete with _decal surfaces too much +r_polygonoffset_decals_offset -28 r_polygonoffset_decals_factor 0 // this is mainly for _decal entities (their shaders should use "polygonoffset" shader parameter) - this is "good enough" as it seems, but smaller than the decals one so these don't zfight decals -mod_q3shader_default_polygonoffset -50 +mod_q3shader_default_polygonoffset -14 mod_q3shader_default_polygonfactor 0 // other config files -- 2.39.2