summaryrefslogtreecommitdiff
path: root/assets/scripts/hb_mgturret.shader
diff options
context:
space:
mode:
authorMikko Tiusanen <ams@daug.net>2014-05-04 01:18:52 +0300
committerMikko Tiusanen <ams@daug.net>2014-05-04 01:18:52 +0300
commit01beb9919b95479d8be040bec74abc5cc67a5e43 (patch)
tree65f0b79e793848491832756a4c3a32b23668fab3 /assets/scripts/hb_mgturret.shader
parent191d731da136b7ee959a17e63111c9146219a768 (diff)
Initial import.
Diffstat (limited to 'assets/scripts/hb_mgturret.shader')
-rw-r--r--assets/scripts/hb_mgturret.shader34
1 files changed, 34 insertions, 0 deletions
diff --git a/assets/scripts/hb_mgturret.shader b/assets/scripts/hb_mgturret.shader
new file mode 100644
index 0000000..957e002
--- /dev/null
+++ b/assets/scripts/hb_mgturret.shader
@@ -0,0 +1,34 @@
+models/buildables/mgturret/t_flash
+{
+ cull disable
+ {
+ map models/buildables/mgturret/t_flash.tga
+ blendfunc add
+ rgbGen wave square 0 1 0 10
+ }
+}
+
+models/buildables/mgturret/turret_coil
+{
+ cull disable
+ {
+ map models/buildables/mgturret/turret_coil.tga
+ rgbGen lightingDiffuse
+ alphaFunc GE128
+ }
+}
+
+models/buildables/mgturret/turret_shiny
+{
+ {
+ map models/buildables/mgturret/turret_shiny.tga
+ rgbGen lightingDiffuse
+ }
+ {
+ map models/buildables/mgturret/ref_map.tga
+ blendfunc filter
+ rgbGen identity
+ tcGen environment
+ }
+}
+