]> icculus.org git repositories - divverent/nexuiz.git/blob - data/scripts/evil5.shader
renamed nexuiz-linux.sh to nexuiz-linux-sdl.sh
[divverent/nexuiz.git] / data / scripts / evil5.shader
1 // Maj Notes\r
2 // =========\r
3 // Changes:\r
4 // * Indentation fixed\r
5 // * rgbgen identity's that weren't needed were removed\r
6 // * For all alphafunc'd shaders:\r
7 //   o Added surfaceparm trans, alphashadow and nomarks\r
8 //   o Removed blendfunc's that weren't needed because they were in the same stage as a alphafunc\r
9 //   o Changed alphafunc GT0's to GE128 - GT0 didn't look right\r
10 // * Changed all GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA's to blend (they do the same thing)\r
11 // * Changed all GL_DST_COLOR GL_ZERO's to filter (they do the same thing)\r
12 // * Duplicate of textures/evil_floor/flr_drmtlodhlz renamed to flr_mtlhls\r
13 // * Changed textures/evil_floor/tekconfllr_fx to use alphafunc rather then alpha blending\r
14 // * Removed unnecessary blendfunc blend's from first stage of all lights\r
15 // * Changed a flr_drmtlodhlz.tga to flr_dkmtlodhlz.tga (was drm instead of dkm)\r
16 \r
17 //floors\r
18 \r
19 textures/evil5_floor/confllrtile2pad\r
20 {\r
21         {\r
22                 map textures/base_wall/chrome_env.tga\r
23                 tcGen environment\r
24                 tcmod scale .25 .25\r
25         }\r
26         {\r
27                 map textures/evil5_floor/confllrtile2pad.tga\r
28                 blendFunc blend\r
29         }\r
30         {\r
31                 map $lightmap\r
32                 blendfunc filter\r
33         }\r
34 }\r
35 \r
36 textures/evil5_floor/contekfllr\r
37 {\r
38         surfaceparm trans\r
39         surfaceparm alphashadow\r
40         surfaceparm nomarks\r
41         surfaceparm metalsteps\r
42         cull none\r
43         {\r
44                 map textures/evil5_floor/contekfllr.tga\r
45                 alphaFunc GE128\r
46                 depthWrite\r
47         }\r
48         {\r
49                 map $lightmap\r
50                 blendFunc filter\r
51                 depthFunc equal\r
52         }\r
53 }\r
54 \r
55 textures/evil5_floor/contekfllr2\r
56 {\r
57         surfaceparm trans\r
58         surfaceparm alphashadow\r
59         surfaceparm nomarks\r
60         surfaceparm metalsteps\r
61         cull none\r
62         {\r
63                 map textures/evil5_floor/contekfllr2.tga\r
64                 alphaFunc GE128\r
65                 depthWrite\r
66         }\r
67         {\r
68                 map $lightmap\r
69                 blendFunc filter\r
70                 depthFunc equal\r
71         }\r
72 }\r
73 \r
74 textures/evil5_floor/contekfllr2b\r
75 {\r
76         surfaceparm trans\r
77         surfaceparm alphashadow\r
78         surfaceparm nomarks\r
79         surfaceparm metalsteps\r
80         cull none\r
81         {\r
82                 map textures/evil5_floor/contekfllr2b.tga\r
83                 alphaFunc GE128\r
84                 depthWrite\r
85         }\r
86         {\r
87                 map $lightmap\r
88                 blendFunc filter\r
89                 depthFunc equal\r
90         }\r
91 }\r
92 \r
93 textures/evil5_floor/contekfllr_b\r
94 {\r
95         surfaceparm trans\r
96         surfaceparm alphashadow\r
97         surfaceparm nomarks\r
98         surfaceparm metalsteps\r
99         cull none\r
100         {\r
101                 map textures/evil5_floor/contekfllr_b.tga\r
102                 alphaFunc GE128\r
103                 depthWrite\r
104         }\r
105         {\r
106                 map $lightmap\r
107                 blendFunc filter\r
108                 depthFunc equal\r
109         }\r
110 }\r
111 \r
112 textures/evil5_floor/contekfllr_c\r
113 {\r
114         surfaceparm trans\r
115         surfaceparm alphashadow\r
116         surfaceparm nomarks\r
117         surfaceparm metalsteps\r
118         cull none\r
119         {\r
120                 map textures/evil5_floor/contekfllr_c.tga\r
121                 alphaFunc GE128\r
122                 depthWrite\r
123         }\r
124         {\r
125                 map $lightmap\r
126                 blendFunc filter\r
127                 depthFunc equal\r
128         }\r
129 }\r
130 \r
131 textures/evil5_floor/contekfllr_single\r
132 {\r
133         surfaceparm trans\r
134         surfaceparm alphashadow\r
135         surfaceparm nomarks\r
136         surfaceparm metalsteps\r
137         cull none\r
138         {\r
139                 map textures/evil5_floor/contekfllr_single.tga\r
140                 alphaFunc GE128\r
141                 depthWrite\r
142         }\r
143         {\r
144                 map $lightmap\r
145                 blendFunc filter\r
146                 depthFunc equal\r
147         }\r
148 }\r
149 \r
150 textures/evil5_floor/flr_drmtlodhlz\r
151 {\r
152         surfaceparm trans\r
153         surfaceparm alphashadow\r
154         surfaceparm nomarks\r
155         surfaceparm metalsteps\r
156         cull none\r
157         {\r
158                 map textures/evil5_floor/flr_dkmtlodhlz.tga\r
159                 alphaFunc GE128\r
160                 depthWrite\r
161         }\r
162         {\r
163                 map $lightmap\r
164                 blendFunc filter\r
165                 depthFunc equal\r
166         }\r
167 }\r
168 \r
169 textures/evil5_floor/flr_mtlhls\r
170 {\r
171         surfaceparm trans\r
172         surfaceparm alphashadow\r
173         surfaceparm nomarks\r
174         surfaceparm metalsteps\r
175         cull none\r
176         {\r
177                 map textures/evil5_floor/flr_mtlhls.tga\r
178                 alphaFunc GE128\r
179                 depthWrite\r
180         }\r
181         {\r
182                 map $lightmap\r
183                 blendFunc filter\r
184                 depthFunc equal\r
185         }\r
186 }\r
187 \r
188 textures/evil5_floor/flr_rstmtlhls\r
189 {\r
190         surfaceparm trans\r
191         surfaceparm alphashadow\r
192         surfaceparm nomarks\r
193         surfaceparm metalsteps\r
194         cull none\r
195         {\r
196                 map textures/evil5_floor/flr_rstmtlhls.tga\r
197                 alphaFunc GE128\r
198                 depthWrite\r
199         }\r
200         {\r
201                 map $lightmap\r
202                 blendFunc filter\r
203                 depthFunc equal\r
204         }\r
205 }\r
206 \r
207 textures/evil5_floor/tekconfllr_fx\r
208 {\r
209         surfaceparm trans\r
210         surfaceparm alphashadow\r
211         surfaceparm nomarks\r
212         cull none\r
213         {\r
214                 map textures/evil5_floor/tekconfllr_fx.tga\r
215                 tcmod scroll 0 .9\r
216                 alphafunc GE128\r
217                 depthwrite\r
218         }\r
219         {\r
220                 map textures/evil5_floor/tekconfllr.tga\r
221                 alphafunc GE128\r
222                 depthwrite\r
223         }\r
224         {\r
225                 map $lightmap\r
226                 blendfunc filter\r
227                 depthfunc equal\r
228         }\r
229 }\r
230 \r
231 //Misc\r
232 \r
233 textures/evil5_misc/pallette_top\r
234 {\r
235         surfaceparm trans\r
236         surfaceparm alphashadow\r
237         surfaceparm nomarks\r
238         cull none\r
239         {\r
240                 map textures/evil5_misc/pallette_top.tga\r
241                 alphaFunc GE128\r
242                 depthWrite\r
243         }\r
244         {\r
245                 map $lightmap\r
246                 blendFunc filter\r
247                 depthFunc equal\r
248         }\r
249 }\r
250 \r
251 textures/evil5_misc/pallette_side\r
252 {\r
253         surfaceparm trans\r
254         surfaceparm alphashadow\r
255         surfaceparm nomarks\r
256         cull none\r
257         {\r
258                 map textures/evil5_misc/pallette_side.tga\r
259                 alphaFunc GE128\r
260                 depthWrite\r
261         }\r
262         {\r
263                 map $lightmap\r
264                 blendFunc filter\r
265                 depthFunc equal\r
266         }\r
267 }\r
268 \r
269 //Trims and steps (lights)\r
270 \r
271 textures/evil5_trim/trim_light_drkrst\r
272 {\r
273         q3map_surfacelight 100\r
274         {\r
275                 map textures/evil5_trim/trim_light_drkrst.tga\r
276         }\r
277         {\r
278                 map $lightmap\r
279                 blendfunc filter\r
280         }\r
281         {\r
282                 map textures/evil5_trim/trim_light_drkrst_glow.tga\r
283                 blendFunc add\r
284                 rgbGen wave sin .5 .5 0 1\r
285         }\r
286 }\r
287 \r
288 textures/evil5_trim/stepside_mtl4light\r
289 {\r
290         q3map_surfacelight 100\r
291         {\r
292                 map textures/evil5_trim/stepside_mtl4light.tga\r
293         }\r
294         {\r
295                 map $lightmap\r
296                 blendfunc filter\r
297         }\r
298         {\r
299                 map textures/evil5_trim/stepside_mtl4light_glw.tga\r
300                 blendFunc add\r
301                 rgbGen wave sin .5 .5 0 1\r
302         }\r
303 }\r
304 \r
305 textures/evil5_trim/stepside_mtllight\r
306 {\r
307         q3map_surfacelight 100\r
308         {\r
309                 map textures/evil5_trim/stepside_mtllight.tga\r
310         }\r
311         {\r
312                 map $lightmap\r
313                 blendfunc filter\r
314         }\r
315         {\r
316                 map textures/evil5_trim/stepside_mtllight_blnd.tga\r
317                 blendFunc add\r
318                 rgbGen wave sin .5 .5 0 1\r
319         }\r
320 }\r
321 \r
322 //walls (lights)\r
323 \r
324 textures/evil5_wall/crete_tblight\r
325 {\r
326         q3map_surfacelight 100\r
327         {\r
328                 map textures/evil5_wall/crete_tblight.tga\r
329         }\r
330         {\r
331                 map $lightmap\r
332                 blendfunc filter\r
333         }\r
334         {\r
335                 map textures/evil5_wall/crete_tblight_blend.tga\r
336                 blendFunc add\r
337                 rgbGen wave sin .5 .5 0 1\r
338         }\r
339 }\r
340 \r
341 textures/evil5_misc/pallette_side\r
342 {\r
343         surfaceparm trans\r
344         surfaceparm alphashadow\r
345         surfaceparm nomarks\r
346         cull none\r
347         {\r
348                 map textures/evil5_misc/pallette_side.tga\r
349                 alphaFunc GE128\r
350                 depthWrite\r
351         }\r
352         {\r
353                 map $lightmap\r
354                 blendFunc filter\r
355                 depthFunc equal\r
356         }\r
357 }\r
358 \r
359 textures/evil5_trim/trim_light_drkrst\r
360 {\r
361         q3map_surfacelight 100\r
362         {\r
363                 map textures/evil5_trim/trim_light_drkrst.tga\r
364         }\r
365         {\r
366                 map $lightmap\r
367                 blendfunc filter\r
368         }\r
369         {\r
370                 map textures/evil5_trim/trim_light_drkrst_glow.tga\r
371                 blendFunc add\r
372                 rgbGen wave sin .5 .5 0 1\r
373         }\r
374 }\r
375 \r
376 textures/evil5_trim/stepside_mtl4light\r
377 {\r
378         q3map_surfacelight 100\r
379         {\r
380                 map textures/evil5_trim/stepside_mtl4light.tga\r
381         }\r
382         {\r
383                 map $lightmap\r
384                 blendfunc filter\r
385         }\r
386         {\r
387                 map textures/evil5_trim/stepside_mtl4light_glw.tga\r
388                 blendFunc add\r
389                 rgbGen wave sin .5 .5 0 1\r
390         }\r
391 }\r
392 \r
393 textures/evil5_trim/stepside_mtllight\r
394 {\r
395         q3map_surfacelight 100\r
396         {\r
397                 map textures/evil5_trim/stepside_mtllight.tga\r
398         }\r
399         {\r
400                 map $lightmap\r
401                 blendfunc filter\r
402         }\r
403         {\r
404                 map textures/evil5_trim/stepside_mtllight_blnd.tga\r
405                 blendFunc add\r
406                 rgbGen wave sin .5 .5 0 1\r
407         }\r
408 }\r
409 \r
410 textures/evil5_wall/crete_tblight\r
411 {\r
412         q3map_surfacelight 100\r
413         {\r
414                 map textures/evil5_wall/crete_tblight.tga\r
415         }\r
416         {\r
417                 map $lightmap\r
418                 blendfunc filter\r
419         }\r
420         {\r
421                 map textures/evil5_wall/crete_tblight_blend.tga\r
422                 blendFunc add\r
423                 rgbGen wave sin .5 .5 0 1\r
424         }\r
425 }