]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 dfd211f478680b9ee2f4b92c3661d4084afaf7b7..dea1f3790e365eae4450b820ab726371e0bc59e3 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
 // 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