]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
Add comments to the beginning of each shader to clarify how they work
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 5 Apr 2012 13:29:36 +0000 (16:29 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 5 Apr 2012 13:29:36 +0000 (16:29 +0300)
scripts/exx.shader
scripts/exx_reflections_disabled.shader
scripts/exx_reflections_enabled.shader

index 4665348241ad3e92ecde0674689ccff8da1a2bac..947912197d72de77b83175dd04ff90c975dbd71a 100644 (file)
@@ -1,3 +1,5 @@
+// contains exx textures without reflections
+
 textures/exx/base-crete01
 {
        qer_editorimage textures/exx/base/base_crete01.tga
index 640b983257dc348b1b067511f77fd83b4d032925..d4099c97b663e4b822995e241d296b0fbd5ac37f 100644 (file)
@@ -1,3 +1,6 @@
+// contains exx textures with reflections, disabled state
+// those shaders are active when r_reflections_world is off
+
 textures/exx/base-metal01
 {
        dpshaderkillifcvar r_reflections_world != 0
index 7e76c01c46cc3ac8c72dbc658c57b25b14793edc..06096a2ac22bcd2a81b63ec16e1d6b7afc402921 100644 (file)
@@ -1,3 +1,6 @@
+// contains exx textures with reflections, enabled state
+// those shaders are active when r_reflections_world is on
+
 textures/exx/base-metal01
 {
        dpshaderkillifcvar r_reflections_world == 0