summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mdriver.shader46
1 files changed, 46 insertions, 0 deletions
diff --git a/scripts/mdriver.shader b/scripts/mdriver.shader
new file mode 100644
index 0000000..0e4fe19
--- /dev/null
+++ b/scripts/mdriver.shader
@@ -0,0 +1,46 @@
+models/weapons/mdriver/mdriver
+{
+ cull disable
+ {
+ map models/weapons/mdriver/mdriver.jpg
+ rgbGen lightingDiffuse
+ }
+ {
+ map models/weapons/mdriver/mdriver.jpg
+ blendFunc GL_SRC_ALPHA GL_ONE
+ detail
+ alphaGen lightingSpecular
+ }
+ {
+ map models/buildables/mgturret/ref_map.jpg
+ blendFunc GL_DST_COLOR GL_ONE
+ detail
+ tcGen environment
+ }
+ {
+ map models/weapons/mdriver/mdriver_glow.tga
+ blendfunc add
+ rgbGen wave noise 0.2 0.5 0 3.17
+ }
+ {
+ map models/weapons/mdriver/mdriver_glow.tga
+ blendfunc add
+ rgbGen wave sawtooth 0 0.15 0 3.17
+ }
+ {
+ map models/weapons/mdriver/mdriver_glow.tga
+ blendfunc add
+ rgbGen wave sin 0.25 0.25 0 0.17
+ }
+}
+
+models/weapons/mdriver/glow
+{
+
+ cull disable
+ {
+ map models/weapons/mdriver/glow.jpg
+ blendfunc GL_ONE GL_ONE
+ tcMod scroll -9.0 9.0
+ }
+}