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