From 9f6a3c3c4c0d8c50f7e380feeb93e860af17638f Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sat, 27 Jun 2015 15:54:39 +0200 Subject: Improve Wraith warp vision. --- assets/gfx/level1/warpOverlay.jpg | Bin 308 -> 287 bytes assets/gfx/level1/warpOverlay2.jpg | Bin 9251 -> 0 bytes assets/scripts/aw_level1.shader | 10 +++++++--- 3 files changed, 7 insertions(+), 3 deletions(-) delete mode 100644 assets/gfx/level1/warpOverlay2.jpg (limited to 'assets') diff --git a/assets/gfx/level1/warpOverlay.jpg b/assets/gfx/level1/warpOverlay.jpg index 02b1b6b..33e83e2 100644 Binary files a/assets/gfx/level1/warpOverlay.jpg and b/assets/gfx/level1/warpOverlay.jpg differ diff --git a/assets/gfx/level1/warpOverlay2.jpg b/assets/gfx/level1/warpOverlay2.jpg deleted file mode 100644 index 702489c..0000000 Binary files a/assets/gfx/level1/warpOverlay2.jpg and /dev/null 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 } } -- cgit