default to a nice polygonoffset for the "polygonoffset" q3 shader keyword
authorRudolf Polzer <divverent@alientrap.org>
Sun, 7 Nov 2010 13:06:54 +0000 (14:06 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 7 Nov 2010 13:06:54 +0000 (14:06 +0100)
defaultXonotic.cfg

index dfd211f..dea1f37 100644 (file)
@@ -2015,3 +2015,6 @@ r_polygonoffset_submodel_factor 0
 // once the issue is found, please revert back to the default of -14
 r_polygonoffset_decals_offset -100
 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_polygonfactor 0