From: MirceaKitsune Date: Thu, 5 Apr 2012 13:29:36 +0000 (+0300) Subject: Add comments to the beginning of each shader to clarify how they work X-Git-Tag: xonotic-v0.8.0~5^2~11 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=289295f41f35e7984ccd080d67850320f2bb6075;p=xonotic%2Fxonotic-maps.pk3dir.git Add comments to the beginning of each shader to clarify how they work --- diff --git a/scripts/exx.shader b/scripts/exx.shader index 46653482..94791219 100644 --- a/scripts/exx.shader +++ b/scripts/exx.shader @@ -1,3 +1,5 @@ +// contains exx textures without reflections + textures/exx/base-crete01 { qer_editorimage textures/exx/base/base_crete01.tga diff --git a/scripts/exx_reflections_disabled.shader b/scripts/exx_reflections_disabled.shader index 640b9832..d4099c97 100644 --- a/scripts/exx_reflections_disabled.shader +++ b/scripts/exx_reflections_disabled.shader @@ -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 diff --git a/scripts/exx_reflections_enabled.shader b/scripts/exx_reflections_enabled.shader index 7e76c01c..06096a2a 100644 --- a/scripts/exx_reflections_enabled.shader +++ b/scripts/exx_reflections_enabled.shader @@ -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