From 289295f41f35e7984ccd080d67850320f2bb6075 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Thu, 5 Apr 2012 16:29:36 +0300 Subject: [PATCH] Add comments to the beginning of each shader to clarify how they work --- scripts/exx.shader | 2 ++ scripts/exx_reflections_disabled.shader | 3 +++ scripts/exx_reflections_enabled.shader | 3 +++ 3 files changed, 8 insertions(+) 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 -- 2.39.2