summaryrefslogtreecommitdiff
path: root/assets/scripts/human_models.shader
diff options
context:
space:
mode:
Diffstat (limited to 'assets/scripts/human_models.shader')
-rw-r--r--assets/scripts/human_models.shader152
1 files changed, 152 insertions, 0 deletions
diff --git a/assets/scripts/human_models.shader b/assets/scripts/human_models.shader
new file mode 100644
index 0000000..f2b93ef
--- /dev/null
+++ b/assets/scripts/human_models.shader
@@ -0,0 +1,152 @@
+models/players/human_base/h_base
+{
+ cull disable
+ {
+ map models/players/human_base/h_base.tga
+ rgbGen lightingDiffuse
+ alphaFunc GE128
+ depthWrite
+ }
+ {
+ map models/players/human_base/h_base.tga
+ blendFunc GL_SRC_ALPHA GL_ONE
+ detail
+ alphaGen lightingSpecular
+ depthFunc equal
+ }
+}
+
+models/players/human_base/h_helmet
+{
+ cull disable
+ {
+ map models/players/human_base/h_helmet.tga
+ rgbGen lightingDiffuse
+ alphaFunc GE128
+ depthWrite
+ }
+ {
+ map models/players/human_base/h_helmet.tga
+ blendFunc GL_SRC_ALPHA GL_ONE
+ detail
+ alphaGen lightingSpecular
+ depthFunc equal
+ }
+ {
+ map models/buildables/mgturret/ref_map.jpg
+ blendFunc GL_DST_COLOR GL_ONE
+ detail
+ tcGen environment
+ depthFunc equal
+ }
+}
+models/players/human_base/battpack
+{
+ cull disable
+ {
+ map models/players/human_base/battpack.tga
+ rgbGen lightingDiffuse
+ alphaFunc GE128
+ depthWrite
+ }
+ {
+ models/players/human_base/battpack.tga
+ blendFunc GL_SRC_ALPHA GL_ONE
+ detail
+ alphaGen lightingSpecular
+ depthFunc equal
+ }
+ {
+ map models/buildables/mgturret/ref_map.jpg
+ blendFunc GL_DST_COLOR GL_ONE
+ detail
+ tcGen environment
+ depthFunc equal
+ }
+}
+
+models/players/human_base/base
+{
+ cull disable
+ {
+ map models/players/human_base/base.tga
+ rgbGen lightingDiffuse
+ alphaFunc GE128
+ depthWrite
+ }
+ {
+ map models/players/human_base/base.tga
+ blendFunc GL_SRC_ALPHA GL_ONE
+ detail
+ alphaGen lightingSpecular
+ depthFunc equal
+ }
+}
+
+models/players/human_base/light
+{
+ cull disable
+ {
+ map models/players/human_base/light.tga
+ rgbGen lightingDiffuse
+ alphaFunc GE128
+ depthWrite
+ }
+ {
+ map models/players/human_base/light.tga
+ blendFunc GL_SRC_ALPHA GL_ONE
+ detail
+ alphaGen lightingSpecular
+ depthFunc equal
+ }
+}
+
+models/players/human_base/armour
+{
+ cull disable
+ {
+ map models/players/human_base/armour.tga
+ rgbGen lightingDiffuse
+ alphaFunc GE128
+ depthWrite
+ }
+ {
+ map models/players/human_base/armour.tga
+ blendFunc GL_SRC_ALPHA GL_ONE
+ detail
+ alphaGen lightingSpecular
+ depthFunc equal
+ }
+ {
+ map models/buildables/mgturret/ref_map.jpg
+ blendFunc GL_DST_COLOR GL_ONE
+ detail
+ tcGen environment
+ depthFunc equal
+ }
+}
+
+models/players/human_base/shoulderpads
+{
+ cull disable
+ {
+ map models/players/human_base/shoulderpads.tga
+ rgbGen lightingDiffuse
+ alphaFunc GE128
+ depthWrite
+ }
+ {
+ map models/players/human_base/shoulderpads.tga
+ blendFunc GL_SRC_ALPHA GL_ONE
+ detail
+ alphaGen lightingSpecular
+ depthFunc equal
+ }
+ {
+ map models/buildables/mgturret/ref_map.jpg
+ blendFunc GL_DST_COLOR GL_ONE
+ detail
+ tcGen environment
+ depthFunc equal
+ }
+}