diff options
Diffstat (limited to 'assets/scripts/hb_reactor.shader')
-rw-r--r-- | assets/scripts/hb_reactor.shader | 210 |
1 files changed, 210 insertions, 0 deletions
diff --git a/assets/scripts/hb_reactor.shader b/assets/scripts/hb_reactor.shader new file mode 100644 index 0000000..c856253 --- /dev/null +++ b/assets/scripts/hb_reactor.shader @@ -0,0 +1,210 @@ +models/buildables/reactor/reactor_main +{ + { + map models/buildables/reactor/reactor_main.tga + rgbGen lightingDiffuse + } + { + map models/buildables/reactor/reactor_glow.tga + blendfunc add + rgbGen wave sin 0 1 0 0.5 + } + { + map models/buildables/reactor/reactor_main.tga + 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 + } +} +models/buildables/reactor/reactor_body +{ + { + map models/buildables/reactor/reactor_body.tga + rgbGen lightingDiffuse + } +} +models/buildables/reactor/reactor_parts +{ + { + map models/buildables/reactor/reactor_parts.tga + rgbGen lightingDiffuse + } + { + map models/buildables/reactor/reactor_parts.tga + 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 + } +} +models/buildables/reactor/reactor_top +{ + { + map models/buildables/reactor/reactor_top.tga + rgbGen lightingDiffuse + } + { + map models/buildables/reactor/reactor_top.tga + 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 + } +} +models/buildables/reactor/reactor_control +{ + { + map models/buildables/reactor/reactor_control.tga + rgbGen lightingDiffuse + } + { + map models/buildables/reactor/reactor_control.tga + 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 + } +} + +models/buildables/reactor/reactor_meter +{ + { + map models/buildables/reactor/reactor_meter.tga + rgbGen lightingDiffuse + } + { + map models/buildables/reactor/reactor_meter.tga + 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 + } +} + +models/buildables/reactor/reactor_display +{ + { + map models/buildables/reactor/reactor_display.tga + rgbGen lightingDiffuse + } + { + map models/buildables/reactor/reactor_display.tga + 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 + } +} + +models/buildables/reactor/reactor_bolt +{ + cull disable + { + map models/buildables/reactor/reactor_bolt.tga + blendfunc add + rgbGen identity + tcMod scroll 2 0 + } +} + +models/buildables/repeater/energy +{ + { + map models/buildables/repeater/energy.tga + rgbGen wave sawtooth 0.3 1 0 0.5 + tcMod scale 2 1 + tcMod scroll 0 1 + } +} + +models/buildables/repeater/repeator_panel +{ + { + map models/buildables/repeater/repeator_panel.tga + rgbGen lightingDiffuse + } + { + map models/buildables/repeater/repeator_panel.tga + 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 + } +} + +models/buildables/arm/arm_panel2 +{ + { + map models/buildables/arm/arm_panel2.tga + rgbGen lightingDiffuse + } + { + map models/buildables/arm/arm_panel2.tga + 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 + } +} + +models/buildables/arm/arm_panel3 +{ + { + map models/buildables/arm/arm_panel3.tga + rgbGen lightingDiffuse + } + { + map models/buildables/arm/arm_panel3.tga + 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 + } +} + |