summaryrefslogtreecommitdiff
path: root/assets/scripts/hw_lightning.shader
diff options
context:
space:
mode:
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
}
}