]> icculus.org git repositories - divverent/nexuiz.git/blob - data/scripts/morphed.shader
fixed bugs on reslimed. mainly clipping. added moving slime effect to the slime-pipes.
[divverent/nexuiz.git] / data / scripts / morphed.shader
1 textures/morphed/slimem\r
2 {\r
3         qer_editorimage textures/morphed/slimem.tga\r
4         qer_trans 0.5\r
5         surfaceparm noimpact\r
6         surfaceparm trans\r
7         surfaceparm nonsolid\r
8         surfaceparm slime\r
9         q3map_surfacelight 250\r
10         Q3map_TessSize 128\r
11         cull none\r
12         {\r
13                 map textures/morphed/slimem.tga\r
14                 blendFunc add\r
15                 rgbGen identity\r
16         }\r
17 }\r
18 \r
19 textures/morphed/slimem_warp\r
20 {\r
21         qer_editorimage textures/morphed/slimem.tga\r
22         qer_trans 0.5\r
23         surfaceparm noimpact\r
24         surfaceparm trans\r
25         surfaceparm nonsolid\r
26         surfaceparm slime\r
27         q3map_surfacelight 250\r
28         deformVertexes wave 150.0 sin 2 5 0.25 0.1\r
29         Q3map_TessSize 128\r
30         cull none\r
31         {\r
32                 map textures/morphed/slimem.tga\r
33                 blendFunc add\r
34                 rgbGen identity\r
35         }\r
36 }\r
37 \r
38 textures/morphed/gelslime\r
39 {\r
40         qer_editorimage textures/morphed/gelslime.tga\r
41         q3map_lightimage textures/morphed/gelslime_glow.tga\r
42         qer_trans 0.75\r
43         surfaceparm noimpact\r
44         surfaceparm trans\r
45         surfaceparm nonsolid\r
46         surfaceparm slime\r
47         q3map_surfacelight 280\r
48         Q3map_TessSize 128\r
49         cull none\r
50         {\r
51                 map textures/morphed/gelslime.tga\r
52                 rgbGen identity\r
53                 depthWrite\r
54                 blendfunc blend\r
55         }\r
56         {\r
57                 map $lightmap\r
58                 blendfunc blend\r
59                 rgbGen identity\r
60                 tcGen lightmap\r
61                 depthFunc equal\r
62         }\r
63 }\r
64 \r
65 textures/morphed/gelslime_warp\r
66 {\r
67         qer_editorimage textures/morphed/gelslime.tga\r
68         q3map_lightimage textures/morphed/gelslime_glow.tga\r
69         qer_trans 0.75\r
70         surfaceparm noimpact\r
71         surfaceparm trans\r
72         surfaceparm nonsolid\r
73         surfaceparm slime\r
74         q3map_surfacelight 280\r
75         deformVertexes wave 150.0 sin 2 5 0.25 0.1\r
76         Q3map_TessSize 128\r
77         cull none\r
78         {\r
79                 map textures/morphed/gelslime.tga\r
80                 rgbGen identity\r
81                 depthWrite\r
82                 blendfunc blend\r
83         }\r
84         {\r
85                 map $lightmap\r
86                 blendfunc blend\r
87                 rgbGen identity\r
88                 tcGen lightmap\r
89                 depthFunc equal\r
90         }\r
91 }\r
92 \r
93 \r
94 textures/morphed/gelslime_bright\r
95 {\r
96         qer_editorimage textures/morphed/gelslime_bright.tga\r
97         qer_trans 0.5\r
98         surfaceparm noimpact\r
99         surfaceparm trans\r
100         surfaceparm nonsolid\r
101         surfaceparm slime\r
102         q3map_surfacelight 320\r
103         Q3map_TessSize 128\r
104         cull none\r
105         {\r
106                 map textures/morphed/gelslime_bright.tga\r
107                 blendFunc add\r
108                 rgbGen identity\r
109                 //tcMod turb <base> <amplitude> <phase><freq>\r
110                 tcMod turb 1 0.15 0 0.15\r
111                 tcMod scroll 0 0.2\r
112         }\r
113 }\r
114 \r
115 \r
116 textures/morphed/gelslime_bright_warp\r
117 {\r
118         qer_editorimage textures/morphed/gelslime_bright.tga\r
119         qer_trans 0.5\r
120         surfaceparm noimpact\r
121         surfaceparm trans\r
122         surfaceparm nonsolid\r
123         surfaceparm slime\r
124         q3map_surfacelight 320\r
125         deformVertexes wave 150.0 sin 2 5 0.25 0.1\r
126         Q3map_TessSize 128\r
127         cull none\r
128         {\r
129                 map textures/morphed/gelslime_bright.tga\r
130                 blendFunc add\r
131                 rgbGen identity\r
132         }\r
133 }\r
134 \r