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.shader36
1 files changed, 36 insertions, 0 deletions
diff --git a/assets/scripts/hw_lightning.shader b/assets/scripts/hw_lightning.shader
new file mode 100644
index 0000000..c42612b
--- /dev/null
+++ b/assets/scripts/hw_lightning.shader
@@ -0,0 +1,36 @@
+gfx/lightning/particle
+{
+ {
+ map models/weapons/lightning/flash.jpg
+ blendFunc add
+ }
+}
+
+gfx/lightning/beam
+{
+ nomipmaps
+ {
+ 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
+ }
+}