diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2015-06-27 19:59:02 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2015-06-27 19:59:02 +0200 |
commit | 1d91c18466031a320b70828d84541b8094a2b486 (patch) | |
tree | e5ed8092fd65756cbb3cc81745877808aa69970a /assets | |
parent | 9f6a3c3c4c0d8c50f7e380feeb93e860af17638f (diff) |
Implement cg_brighten.
Diffstat (limited to 'assets')
-rw-r--r-- | assets/gfx/level1/warpOverlay.jpg | bin | 287 -> 0 bytes | |||
-rw-r--r-- | assets/scripts/aw_level1.shader | 10 | ||||
-rw-r--r-- | assets/scripts/system_effects.shader | 9 |
3 files changed, 10 insertions, 9 deletions
diff --git a/assets/gfx/level1/warpOverlay.jpg b/assets/gfx/level1/warpOverlay.jpg Binary files differdeleted file mode 100644 index 33e83e2..0000000 --- a/assets/gfx/level1/warpOverlay.jpg +++ /dev/null diff --git a/assets/scripts/aw_level1.shader b/assets/scripts/aw_level1.shader index 33ce967..5a7d570 100644 --- a/assets/scripts/aw_level1.shader +++ b/assets/scripts/aw_level1.shader @@ -1,15 +1,7 @@ gfx/level1/warpOverlay { { - map gfx/level1/warpOverlay.jpg - blendFunc GL_DST_COLOR GL_ONE - } - { - map gfx/level1/warpOverlay.jpg - blendFunc GL_DST_COLOR GL_ONE - } - { - map gfx/level1/warpOverlay.jpg + map *white blendFunc GL_ONE_MINUS_DST_COLOR GL_ONE_MINUS_SRC_COLOR } } 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 + } +} |