]> git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Add shader for gibs, and make gibs ignore decals. Should improve performance when...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 15 Nov 2011 13:55:13 +0000 (15:55 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 15 Nov 2011 13:55:13 +0000 (15:55 +0200)
data/scripts/gibs.shader [new file with mode: 0644]
data/scripts/shaderlist.txt

diff --git a/data/scripts/gibs.shader b/data/scripts/gibs.shader
new file mode 100644 (file)
index 0000000..c1c40e5
--- /dev/null
@@ -0,0 +1,111 @@
+meat
+{
+       surfaceparm nomarks
+       {
+               map textures/meat
+       }
+       {
+               map $lightmap
+       }
+}
+
+meat_alien
+{
+       surfaceparm nomarks
+       {
+               map textures/meat_alien
+       }
+       {
+               map $lightmap
+       }
+}
+
+meat_robot
+{
+       surfaceparm nomarks
+       {
+               map textures/meat_robot
+       }
+       {
+               map $lightmap
+       }
+}
+
+eyeblood
+{
+       surfaceparm nomarks
+       {
+               map textures/eyeblood
+       }
+       {
+               map $lightmap
+       }
+}
+
+nutsandbolts1
+{
+       surfaceparm nomarks
+       {
+               map textures/nutsandbolts1
+       }
+       {
+               map $lightmap
+       }
+}
+
+nutsandbolts3
+{
+       surfaceparm nomarks
+       {
+               map textures/nutsandbolts3
+       }
+       {
+               map $lightmap
+       }
+}
+
+nutsandbolts4
+{
+       surfaceparm nomarks
+       {
+               map textures/nutsandbolts4
+       }
+       {
+               map $lightmap
+       }
+}
+
+nutsandbolts5
+{
+       surfaceparm nomarks
+       {
+               map textures/nutsandbolts5
+       }
+       {
+               map $lightmap
+       }
+}
+
+nutsandboltssteel
+{
+       surfaceparm nomarks
+       {
+               map textures/nutsandbolts3
+               tcgen environment
+       }
+       {
+               map $lightmap
+       }
+}
+
+models/gibs/chunk.mdl_0
+{
+       surfaceparm nomarks
+       {
+               map models/gibs/chunk.mdl_0
+               tcgen environment
+       }
+       {
+               map $lightmap
+       }
+}
index 030f115658cefb5ab434356755233c2a2c7a785c..3665fe8d3ffcd40f1f8010c65649f6e02c7d9618 100644 (file)
@@ -2,6 +2,7 @@ blacksky
 cel\r
 common\r
 items\r
+gibs\r
 desertfactory\r
 domination\r
 dsi\r