summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorIronClawTrem <louie.nutman@gmail.com>2020-03-14 19:21:05 +0000
committerIronClawTrem <louie.nutman@gmail.com>2020-03-14 19:21:05 +0000
commit5b1d432055194582fafc00a22b3838666dc83851 (patch)
tree4fa1e99102ed9485596cf2e8c218c91dd330c38d /scripts
parentab3753cd67f614786efc5bf89db6e317b83a197b (diff)
add all required assets to repository
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
+ }
+}