summaryrefslogtreecommitdiff
path: root/assets/scripts/system_effects.shader
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2015-06-27 19:59:02 +0200
committerPaweł Redman <pawel.redman@gmail.com>2015-06-27 19:59:02 +0200
commit1d91c18466031a320b70828d84541b8094a2b486 (patch)
treee5ed8092fd65756cbb3cc81745877808aa69970a /assets/scripts/system_effects.shader
parent9f6a3c3c4c0d8c50f7e380feeb93e860af17638f (diff)
Implement cg_brighten.
Diffstat (limited to 'assets/scripts/system_effects.shader')
-rw-r--r--assets/scripts/system_effects.shader9
1 files changed, 9 insertions, 0 deletions
diff --git a/assets/scripts/system_effects.shader b/assets/scripts/system_effects.shader
index fce90a2..b5366a9 100644
--- a/assets/scripts/system_effects.shader
+++ b/assets/scripts/system_effects.shader
@@ -687,3 +687,12 @@ gfx/misc/nopower
rgbGen identity
}
}
+
+
+gfx/brighten
+{
+ {
+ map *white
+ blendFunc GL_DST_COLOR GL_ONE
+ }
+}