]> git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Port the latest new cvars from Xonotic
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 17 Nov 2011 21:39:25 +0000 (23:39 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 17 Nov 2011 21:39:25 +0000 (23:39 +0200)
data/defaultVT.cfg

index 4525f07bee29aa544f8f992027026537d451d775..a24d75ecbf93bfd1cc898da361c334b463a98dc5 100644 (file)
@@ -1781,3 +1781,17 @@ utf8_enable 1
 r_font_hinting 1\r
 r_font_disable_freetype 0\r
 r_font_size_snapping 4\r
+\r
+// polygonoffset for submodel SUCKS SUCKS SUCKS (only a hack for quake1, we don't need that)\r
+r_polygonoffset_submodel_offset 0\r
+r_polygonoffset_submodel_factor 0\r
+// decals: need a higher polygonoffset than default to not compete with _decal surfaces too much\r
+r_polygonoffset_decals_offset -28\r
+r_polygonoffset_decals_factor 0\r
+// 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\r
+mod_q3shader_default_polygonoffset -14\r
+mod_q3shader_default_polygonfactor 0\r
+\r
+// sRGB configuration (EXPERIMENTAL, needs maps to be relit)\r
+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"\r
+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"\r