diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2015-06-27 15:54:39 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2015-06-27 15:54:39 +0200 |
commit | 9f6a3c3c4c0d8c50f7e380feeb93e860af17638f (patch) | |
tree | 9eb94b7aa4b21c9b4ce0c8dd4a2b357e5bc02015 /assets | |
parent | be6717d194c33d61a906aa92c3de9520bf1d3259 (diff) |
Improve Wraith warp vision.
Diffstat (limited to 'assets')
-rw-r--r-- | assets/gfx/level1/warpOverlay.jpg | bin | 308 -> 287 bytes | |||
-rw-r--r-- | assets/gfx/level1/warpOverlay2.jpg | bin | 9251 -> 0 bytes | |||
-rw-r--r-- | assets/scripts/aw_level1.shader | 10 |
3 files changed, 7 insertions, 3 deletions
diff --git a/assets/gfx/level1/warpOverlay.jpg b/assets/gfx/level1/warpOverlay.jpg Binary files differindex 02b1b6b..33e83e2 100644 --- a/assets/gfx/level1/warpOverlay.jpg +++ b/assets/gfx/level1/warpOverlay.jpg diff --git a/assets/gfx/level1/warpOverlay2.jpg b/assets/gfx/level1/warpOverlay2.jpg Binary files differdeleted file mode 100644 index 702489c..0000000 --- a/assets/gfx/level1/warpOverlay2.jpg +++ /dev/null diff --git a/assets/scripts/aw_level1.shader b/assets/scripts/aw_level1.shader index 8d209db..33ce967 100644 --- a/assets/scripts/aw_level1.shader +++ b/assets/scripts/aw_level1.shader @@ -2,11 +2,15 @@ gfx/level1/warpOverlay { { map gfx/level1/warpOverlay.jpg - blendFunc GL_ONE_MINUS_DST_COLOR GL_ONE_MINUS_SRC_COLOR + blendFunc GL_DST_COLOR GL_ONE } { - map gfx/level1/warpOverlay2.jpg - blendFunc filter + map gfx/level1/warpOverlay.jpg + blendFunc GL_DST_COLOR GL_ONE + } + { + map gfx/level1/warpOverlay.jpg + blendFunc GL_ONE_MINUS_DST_COLOR GL_ONE_MINUS_SRC_COLOR } } |