From b28d5f6dbedd5b895eed4cc5b730581df3b2215d Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Fri, 26 Jun 2015 01:29:00 +0200 Subject: Initial implementation of Wraith. --- assets/scripts/aw_level1.particle | 51 +++++++++++++++++++++++++++++++++++++++ assets/scripts/aw_level1.shader | 27 +++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 assets/scripts/aw_level1.particle create mode 100644 assets/scripts/aw_level1.shader (limited to 'assets/scripts') diff --git a/assets/scripts/aw_level1.particle b/assets/scripts/aw_level1.particle new file mode 100644 index 0000000..5a230a2 --- /dev/null +++ b/assets/scripts/aw_level1.particle @@ -0,0 +1,51 @@ +gfx/level1/warpEnterPS +{ + ejector + { + particle + { + shader sync gfx/level1/warpParticle1 + displacement 0 0 0 0 + + velocityType static + velocityDir linear + velocityMagnitude 0 + velocity 0 0 1 0 + + radius 0 100 0 + alpha 0 1.0 - + + lifeTime 100 + } + + count 1 + delay 0 + period 0 - 0 + } +} + +gfx/level1/warpExitPS +{ + ejector + { + particle + { + shader sync gfx/level1/warpParticle1 + displacement 0 0 0 0 + + velocityType static + velocityDir linear + velocityMagnitude 0 + velocity 0 0 1 0 + + radius 0 100 0 + alpha 0 1.0 - + + lifeTime 100 + } + + count 1 + delay 0 + period 0 - 0 + } +} diff --git a/assets/scripts/aw_level1.shader b/assets/scripts/aw_level1.shader new file mode 100644 index 0000000..951c4c0 --- /dev/null +++ b/assets/scripts/aw_level1.shader @@ -0,0 +1,27 @@ +gfx/level1/warpOverlay +{ + { + map gfx/level1/warpOverlay.jpg + blendFunc GL_ONE_MINUS_DST_COLOR GL_ONE_MINUS_SRC_COLOR + } + { + map gfx/level1/warpOverlay2.jpg + blendFunc filter + } +} + +gfx/level1/warpOverlayBlocked +{ + { + map gfx/level1/warpOverlayBlocked.jpg + blendFunc filter + } +} + +gfx/level1/warpParticle1 +{ + { + map gfx/level1/warpParticle1.jpg + blendFunc add + } +} -- cgit