From: MirceaKitsune Date: Thu, 17 Nov 2011 21:39:25 +0000 (+0200) Subject: Port the latest new cvars from Xonotic X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1acc44dd71d95fde3fc98e78b8cd7e6b53592ca1;p=voretournament%2Fvoretournament.git Port the latest new cvars from Xonotic --- diff --git a/data/defaultVT.cfg b/data/defaultVT.cfg index 4525f07b..a24d75ec 100644 --- a/data/defaultVT.cfg +++ b/data/defaultVT.cfg @@ -1781,3 +1781,17 @@ utf8_enable 1 r_font_hinting 1 r_font_disable_freetype 0 r_font_size_snapping 4 + +// 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 +// 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 -14 +mod_q3shader_default_polygonfactor 0 + +// sRGB configuration (EXPERIMENTAL, needs maps to be relit) +alias sRGBcorrect_on "r_texture_sRGB_skin_diffuse 1;r_texture_sRGB_skin_gloss 1;r_texture_sRGB_skin_glow 1;r_texture_sRGB_reflect 1;r_texture_sRGB_skybox 1;v_gamma 2.2;r_restart" +alias sRGBcorrect_off "r_texture_sRGB_skin_diffuse 0;r_texture_sRGB_skin_gloss 0;r_texture_sRGB_skin_glow 0;r_texture_sRGB_reflect 0;r_texture_sRGB_skybox 0;v_gamma 1.0;r_restart"