summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2015-06-27 15:54:39 +0200
committerPaweł Redman <pawel.redman@gmail.com>2015-06-27 15:54:39 +0200
commit9f6a3c3c4c0d8c50f7e380feeb93e860af17638f (patch)
tree9eb94b7aa4b21c9b4ce0c8dd4a2b357e5bc02015 /assets
parentbe6717d194c33d61a906aa92c3de9520bf1d3259 (diff)
Improve Wraith warp vision.
Diffstat (limited to 'assets')
-rw-r--r--assets/gfx/level1/warpOverlay.jpgbin308 -> 287 bytes
-rw-r--r--assets/gfx/level1/warpOverlay2.jpgbin9251 -> 0 bytes
-rw-r--r--assets/scripts/aw_level1.shader10
3 files changed, 7 insertions, 3 deletions
diff --git a/assets/gfx/level1/warpOverlay.jpg b/assets/gfx/level1/warpOverlay.jpg
index 02b1b6b..33e83e2 100644
--- a/assets/gfx/level1/warpOverlay.jpg
+++ b/assets/gfx/level1/warpOverlay.jpg
Binary files differ
diff --git a/assets/gfx/level1/warpOverlay2.jpg b/assets/gfx/level1/warpOverlay2.jpg
deleted file mode 100644
index 702489c..0000000
--- a/assets/gfx/level1/warpOverlay2.jpg
+++ /dev/null
Binary files differ
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
}
}