]> icculus.org git repositories - divverent/nexuiz.git/blob - data/scripts/evil3.shader
commit 1.2.1 game media
[divverent/nexuiz.git] / data / scripts / evil3.shader
1 // Original shader created by Yves Allaire, \r
2 // for Evil's Texture Set 3.                \r
3 //                                          \r
4 // [+] http://www.planetquake.com/hfx/    \r
5 //                                          //\r
6 // Cleaned up and fixed by Gary Burgess.   \r
7 //                                          //\r
8 // [+] http://www.inaeo.co.uk/cnd/       \r
9 //\r
10 //NOTE FROM Yves: Please edit this .shader all you want, there might have some problems...\r
11 //--------------------------------------------\r
12 textures/evil_floors/mtl-wlkway \r
13 {\r
14         surfaceparm metalsteps\r
15         surfaceparm trans\r
16         cull none\r
17         nopicmip\r
18 \r
19         {\r
20                 map textures/evil_floors/mtl-wlkway.tga \r
21                 blendFunc GL_ONE GL_ZERO\r
22                 alphaFunc GE128\r
23                 depthWrite\r
24                 rgbGen identity\r
25         }\r
26 \r
27         {\r
28                 map $lightmap\r
29                 rgbGen identity\r
30                 blendFunc GL_DST_COLOR GL_ZERO\r
31                 depthFunc equal\r
32         }\r
33 }\r
34 \r
35 //-------------------------------------------------\r
36 \r
37 textures/evil_floors/mtl-wlkway_end \r
38 {\r
39         surfaceparm metalsteps\r
40         surfaceparm trans\r
41         cull none\r
42         nopicmip\r
43 \r
44         {\r
45                 map textures/evil_floors/mtl-wlkway_end.tga \r
46                 blendFunc GL_ONE GL_ZERO\r
47                 alphaFunc GE128\r
48                 depthWrite\r
49                 rgbGen identity\r
50         }\r
51         {\r
52                 map $lightmap\r
53                 rgbGen identity\r
54                 blendFunc GL_DST_COLOR GL_ZERO\r
55                 depthFunc equal\r
56         }\r
57 }\r
58 \r
59 //---------------------------------------------\r
60 \r
61 textures/evil_floors/mtl-wlkway_mid\r
62 {\r
63         surfaceparm metalsteps\r
64         surfaceparm trans\r
65         cull none\r
66         nopicmip\r
67 \r
68         {\r
69                 map textures/evil_floors/mtl-wlkway_mid.tga \r
70                 blendFunc GL_ONE GL_ZERO\r
71                 alphaFunc GE128\r
72                 depthWrite\r
73                 rgbGen identity\r
74         }\r
75         {\r
76                 map $lightmap\r
77                 rgbGen identity\r
78                 blendFunc GL_DST_COLOR GL_ZERO\r
79                 depthFunc equal\r
80         }\r
81 }\r
82 //------------------------------------------\r
83 \r
84 textures/evil_floors/t-flr_oddtile_drty\r
85 {        \r
86         { \r
87                 map textures/evil_floors/t-flr_oddtile_drty_glow.tga\r
88                 tcMod turb 1 1 1 1 \r
89                 tcmod scale 2 1 \r
90                 tcmod scroll 1 2 \r
91                 blendFunc GL_ONE GL_ZERO \r
92                 rgbGen identity \r
93         } \r
94         { \r
95                 map textures/evil_floors/t-flr_oddtile_drty.tga \r
96                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA \r
97                 rgbGen identity \r
98         } \r
99         { \r
100                 map $lightmap \r
101                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA \r
102                 rgbGen identity \r
103         } \r
104 }\r
105 \r
106 //-------------------------------------------------\r
107 \r
108 textures/evil_floors/cemtiledrk_mhbrk\r
109 {        \r
110         { \r
111                 map textures/evil_floors/cemtiledrk_mhbrk_glow.tga \r
112                 tcMod turb 1.2 1 1.2 1\r
113                 tcmod scale 0 0\r
114                 tcmod scroll .1 .1 \r
115                 blendFunc GL_ONE GL_ZERO \r
116                 rgbGen identity \r
117         } \r
118         { \r
119                 map textures/evil_floors/cemtiledrk_mhbrk.tga \r
120                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA \r
121                 rgbGen identity \r
122         } \r
123         { \r
124                 map $lightmap \r
125                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA \r
126                 rgbGen identity \r
127         } \r
128 }  \r
129 //-----------------------------------\r
130 \r
131 textures/evil_floors/grt_offmtl\r
132\r
133         surfaceparm metalsteps \r
134         surfaceparm alphashadow     \r
135         surfaceparm trans         \r
136         surfaceparm nonsolid \r
137         cull none \r
138 \r
139         { \r
140                 map textures/evil_floors/grt_offmtl.tga \r
141                 alphaFunc GE128 \r
142                 depthWrite \r
143                 rgbGen identity \r
144         } \r
145         { \r
146                 map $lightmap \r
147                 rgbGen identity \r
148                 blendFunc filter \r
149                 depthFunc equal \r
150         } \r
151 }  \r
152 //-------------------------------------------\r
153 \r
154 textures/evil_floors/grtmtl_offt\r
155\r
156         surfaceparm metalsteps \r
157         surfaceparm alphashadow     \r
158         surfaceparm trans         \r
159         surfaceparm nonsolid \r
160         cull none \r
161 \r
162         { \r
163                 map textures/evil_floors/grtmtl_offt.tga \r
164                 alphaFunc GE128 \r
165                 depthWrite \r
166                 rgbGen identity \r
167         } \r
168         { \r
169                 map $lightmap \r
170                 rgbGen identity \r
171                 blendFunc filter \r
172                 depthFunc equal \r
173         } \r
174 }  \r
175 \r
176 //------------------------------------------\r
177 \r
178 textures/evil_floors/grtmtl_offt2\r
179\r
180         surfaceparm metalsteps \r
181         surfaceparm alphashadow     \r
182         surfaceparm trans         \r
183         surfaceparm nonsolid \r
184         cull none \r
185 \r
186         { \r
187                 map textures/evil_floors/grtmtl_offt2.tga \r
188                 alphaFunc GE128 \r
189                 depthWrite \r
190                 rgbGen identity \r
191         } \r
192         { \r
193                 map $lightmap \r
194                 rgbGen identity \r
195                 blendFunc filter \r
196                 depthFunc equal \r
197         } \r
198 }  \r
199 \r
200 //----------------------------------------------\r
201 \r
202 textures/evil_lights/rlight_a\r
203\r
204         qer_editorimage textures/evil_lights/rlight_a.tga \r
205         surfaceparm nomarks \r
206         q3map_surfacelight 1500 \r
207 \r
208         { \r
209                 map $lightmap \r
210                 rgbGen identity \r
211         } \r
212         { \r
213                 map textures/evil_lights/rlight_a.tga \r
214                 blendFunc GL_DST_COLOR GL_ZERO \r
215                 rgbGen identity \r
216         } \r
217         { \r
218                 map textures/evil_lights/rlight_a_blend.tga\r
219                 rgbGen wave sin 0.5 0.5 1 1 \r
220                 blendFunc GL_ONE GL_ONE \r
221         } \r
222 }\r
223 \r
224 //--------------------------------------------\r
225 \r
226 textures/evil_misc/rstbouncefan\r
227 {        \r
228         cull disable \r
229         surfaceparm trans     \r
230         surfaceparm nolightmap \r
231         sort 5 \r
232 \r
233         { \r
234                 clampmap textures/sfx/fan3bladeb.tga \r
235                 blendFunc blend \r
236                 tcmod rotate 999 \r
237             rgbGen identity \r
238         } \r
239         { \r
240                 map textures/evil_misc/rstbouncefan.tga \r
241                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA \r
242                 rgbGen identity \r
243         } \r
244         { \r
245                 map $lightmap \r
246                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA \r
247                 rgbGen identity \r
248         } \r
249 }\r
250 \r
251 //