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