summaryrefslogtreecommitdiff
path: root/assets/scripts/hw_lightning.shader
diff options
context:
space:
mode:
authorenneract <trem.redman@gmail.com>2014-11-25 01:45:57 +0100
committerenneract <trem.redman@gmail.com>2014-12-13 01:25:01 +0100
commit0aa94f6b6b7b49972a839aadaee4dbb42a3a53de (patch)
tree6bd75d724a11ef68e3985668c923ced45232e17f /assets/scripts/hw_lightning.shader
parentb0a9981e09bbc7c30769f680a4e0ff17c9ea8239 (diff)
Lightning Gun assets.
Diffstat (limited to 'assets/scripts/hw_lightning.shader')
-rw-r--r--assets/scripts/hw_lightning.shader29
1 files changed, 28 insertions, 1 deletions
diff --git a/assets/scripts/hw_lightning.shader b/assets/scripts/hw_lightning.shader
index 2fa0c0c..c42612b 100644
--- a/assets/scripts/hw_lightning.shader
+++ b/assets/scripts/hw_lightning.shader
@@ -1,9 +1,36 @@
+gfx/lightning/particle
+{
+ {
+ map models/weapons/lightning/flash.jpg
+ blendFunc add
+ }
+}
+
gfx/lightning/beam
{
nomipmaps
{
- map gfx/lightning/beam
+ map models/weapons/lightning/bolt.jpg
blendFunc add
tcMod scroll -5 0
+ tcMod scale 5 1
+ }
+}
+
+models/weapons/lightning/flash
+{
+ cull none
+ {
+ map models/weapons/lightning/flash.jpg
+ blendFunc add
+ }
+}
+
+models/weapons/lightning/bolt
+{
+ cull none
+ {
+ map models/weapons/lightning/bolt.jpg
+ blendFunc add
}
}