]> icculus.org git repositories - divverent/nexuiz.git/blob - data/scripts/evil4_techtrims.shader
I changed hlac_mod into hlacmod by accident, sry :)
[divverent/nexuiz.git] / data / scripts / evil4_techtrims.shader
1 // tech floors\r
2 \r
3 textures/evil4_techfloors/tfloor3_huge\r
4 {\r
5         cull none\r
6         {\r
7                 map textures/evil4_techfloors/tfloor3_huge.tga\r
8                 tcMod scale 2.0 2.0\r
9                 blendFunc GL_ONE GL_ZERO\r
10                 alphaFunc GE128\r
11                 depthWrite\r
12                 rgbGen identity\r
13         }\r
14         {\r
15                 map $lightmap\r
16                 blendFunc GL_DST_COLOR GL_ZERO\r
17                 depthFunc equal\r
18                 rgbGen identity\r
19         }\r
20 }\r
21 \r
22 textures/evil4_techfloors/tfloor_rndholes\r
23 {\r
24         {\r
25                 map textures/evil4_techfloors/tfloor_rndholes.tga\r
26                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
27                 rgbGen identity\r
28         }\r
29         {\r
30                 map $lightmap\r
31                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
32                 rgbGen identity\r
33         }\r
34 }\r
35 \r
36 textures/evil4_techfloors/tfloor_rndholes_drty\r
37 {\r
38         {\r
39                 map textures/evil4_techfloors/tfloor_rndholes_drty.tga\r
40                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
41                 rgbGen identity\r
42         }\r
43         {\r
44                 map $lightmap\r
45                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
46                 rgbGen identity\r
47         }\r
48 }\r
49 \r
50 //********************************************\r
51 //********************************************\r
52 //********************************************\r
53 //**************evil metals section**************\r
54 //********************************************\r
55 //********************************************\r
56 //********************************************\r
57 \r
58 \r
59 textures/evil4_metals/flrgrate\r
60 {\r
61         {\r
62                 map textures/evil4_metals/flrgrate.tga\r
63                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
64                 rgbGen identity\r
65         }\r
66         {\r
67                 map $lightmap\r
68                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
69                 rgbGen identity\r
70         }\r
71 }\r
72 \r
73 textures/evil4_metals/mtlflrslots\r
74 {\r
75         {\r
76                 map textures/evil4_metals/mtlflrslots.tga\r
77                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
78                 rgbGen identity\r
79         }\r
80         {\r
81                 map $lightmap\r
82                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
83                 rgbGen identity\r
84         }\r
85 }\r
86 \r
87 \r
88 textures/evil4_metals/mtlbrushed\r
89 {\r
90         qer_editorimage textures/evil4_metals/mtlbrushed.tga\r
91 \r
92         {\r
93                 map textures/evil4_metals/mtlbrushed.tga\r
94                 blendFunc gl_dst_color gl_zero\r
95                 rgbGen identity\r
96         }\r
97         {\r
98                 map $lightmap\r
99                 blendfunc GL_ONE_MINUS_SRC_ALPHA GL_SRC_ALPHA\r
100                 rgbGen identity\r
101         }\r
102 }\r
103 \r
104 \r
105 textures/evil4_metals/mtltekfloor\r
106 {\r
107         q3map_surfacelight 100\r
108         q3map_lightimage textures/evil4_metal/mtltekfloor_fx.tga\r
109 \r
110         {\r
111                 map textures/evil4_metals/mtltekfloor.tga\r
112         }\r
113 \r
114         {\r
115                 map $lightmap\r
116                 blendfunc gl_dst_color gl_zero\r
117                 rgbGen identity\r
118         }\r
119 }\r
120 \r
121 textures/evil4_metals/wrnjumppad\r
122 {\r
123         {\r
124                 map $lightmap\r
125                 rgbGen identity\r
126         }\r
127         {\r
128                 map textures/evil4_metals/wrnjumppad.tga\r
129                 blendFunc GL_DST_COLOR GL_ZERO\r
130                 rgbGen identity\r
131         }\r
132         {\r
133                 map textures/evil4_metals/wrnjumppad_glow.tga\r
134                 rgbGen wave sin 0.5 0.5 1 1\r
135                 blendfunc GL_ONE GL_ONE\r
136         }\r
137 }\r
138 \r
139 //********************************************\r
140 //********************************************\r
141 //********************************************\r
142 //**************evil lights section***************\r
143 //********************************************\r
144 //********************************************\r
145 //********************************************\r
146 \r
147 textures/evil4_lights/steplight\r
148 {\r
149         surfaceparm nomarks\r
150         q3map_surfacelight 1000\r
151         //light1\r
152         {\r
153                 map $lightmap\r
154                 rgbGen identity\r
155         }\r
156         {\r
157                 map textures/evil4_lights/steplight.tga\r
158                 blendFunc GL_DST_COLOR GL_ZERO\r
159                 rgbGen identity\r
160         }\r
161         {\r
162                 map textures/evil4_lights/steplight_glow.tga\r
163                 blendfunc GL_ONE GL_ONE\r
164         }\r
165 }\r
166 \r
167 textures/evil4_lights/drkmtlsupport_light\r
168 {\r
169         surfaceparm nomarks\r
170         q3map_surfacelight 1000\r
171         {\r
172                 map $lightmap\r
173                 rgbGen identity\r
174         }\r
175         {\r
176                 map textures/evil4_lights/drkmtlsupport_light.tga\r
177                 blendFunc GL_DST_COLOR GL_ZERO\r
178                 rgbGen identity\r
179         }\r
180         {\r
181                 map textures/evil4_lights/drkmtlsupport_light_glow.tga\r
182                 rgbGen wave sin 0.5 0.5 1 .5\r
183                 blendfunc GL_ONE GL_ONE\r
184         }\r
185 }\r
186 \r
187 textures/evil4_lights/s_light\r
188 {\r
189         qer_editorimage textures/evil4_lights/s_light.jpg\r
190         surfaceparm nomarks\r
191         q3map_surfacelight 2500\r
192         {\r
193                 map textures/evil4_lights/s_light.jpg\r
194                 //blendFunc GL_DST_COLOR GL_ZERO\r
195                 rgbGen identity\r
196         }\r
197         {\r
198                 map $lightmap\r
199                 rgbGen identity\r
200                 blendFunc Filter\r
201         }\r
202 }\r
203 \r
204 textures/evil4_lights/t_mtllight\r
205 {\r
206         surfaceparm nomarks\r
207         q3map_surfacelight 1000\r
208         //light1\r
209         {\r
210                 map $lightmap\r
211                 rgbGen identity\r
212         }\r
213         {\r
214                 map textures/evil4_lights/t_mtllight.jpg\r
215                 blendFunc GL_DST_COLOR GL_ZERO\r
216                 rgbGen identity\r
217         }\r
218 }\r
219 \r
220 textures/evil4_lights/mtl_lightsmll\r
221 {\r
222         surfaceparm nomarks\r
223         q3map_surfacelight 1000\r
224         //light1\r
225         {\r
226                 map $lightmap\r
227                 rgbGen identity\r
228         }\r
229         {\r
230                 map textures/evil4_lights/mtl_lightsmll.jpg\r
231                 blendFunc GL_DST_COLOR GL_ZERO\r
232                 rgbGen identity\r
233         }\r
234 }\r
235 \r
236 //double glowing effect light strips\r
237 \r
238 textures/evil4_lights/l_light_b\r
239 {\r
240         q3map_surfacelight 5000\r
241         q3map_lightimage textures/evil4_lights/l_light_b.jpg\r
242         {\r
243                 map $lightmap\r
244                 rgbGen identity\r
245         }\r
246         {\r
247                 map textures/evil4_lights/l_light_b.jpg\r
248                 blendFunc GL_DST_COLOR GL_ZERO\r
249                 rgbGen identity\r
250         }\r
251 }\r
252 \r
253 textures/evil4_lights/l_light_g\r
254 {\r
255         q3map_surfacelight 5000\r
256         q3map_lightimage textures/evil4_lights/l_light_g.jpg\r
257         {\r
258                 map $lightmap\r
259                 rgbGen identity\r
260         }\r
261         {\r
262                 map textures/evil4_lights/l_light_g.jpg\r
263                 blendFunc GL_DST_COLOR GL_ZERO\r
264                 rgbGen identity\r
265         }\r
266 }\r
267 \r
268 textures/evil4_lights/l_light_r\r
269 {\r
270         q3map_surfacelight 5000\r
271         q3map_lightimage textures/evil4_lights/l_light_r.jpg\r
272         {\r
273                 map $lightmap\r
274                 rgbGen identity\r
275         }\r
276         {\r
277                 map textures/evil4_lights/l_light_r.jpg\r
278                 blendFunc GL_DST_COLOR GL_ZERO\r
279                 rgbGen identity\r
280         }\r
281 }\r
282 \r
283 textures/evil4_lights/l_light_w\r
284 {\r
285         q3map_surfacelight 5000\r
286         q3map_lightimage textures/evil4_lights/l_light_w.jpg\r
287         {\r
288                 map $lightmap\r
289                 rgbGen identity\r
290         }\r
291         {\r
292                 map textures/evil4_lights/l_light_w.jpg\r
293                 blendFunc GL_DST_COLOR GL_ZERO\r
294                 rgbGen identity\r
295         }\r
296 }\r
297 \r
298 textures/evil4_lights/mtl_l1\r
299 {\r
300         q3map_surfacelight 1000\r
301         q3map_lightimage textures/evil4_lights/mtl_l1.tga\r
302         // LordHavoc: replaced most of this shader\r
303         {\r
304                 map textures/evil4_lights/mtl_l1.tga\r
305         }\r
306         {\r
307                 map $lightmap\r
308                 rgbGen identity\r
309                 blendfunc filter\r
310         }\r
311         {\r
312                 map textures/evil4_lights/mtl_l1_glow.tga\r
313                 blendfunc add\r
314         }\r
315         // LordHavoc: original shader\r
316         //{\r
317         //      map textures/evil4_lights/mtl_l1_fx.tga\r
318         //      //blendfunc add\r
319         //      tcmod scale 12 1\r
320         //      rgbGen identity\r
321         //      tcMod scroll 0 1\r
322         //}\r
323         //{\r
324         //      map textures/evil4_lights/mtl_l1_fx.tga\r
325         //      blendfunc add\r
326         //      //tcmod scale 25 1\r
327         //      rgbGen identity\r
328         //      tcMod scroll 1 0\r
329         //}\r
330         //{\r
331         //      map textures/evil4_lights/mtl_l1.tga\r
332         //      blendfunc blend\r
333         //      rgbGen identity\r
334         //}\r
335         //{\r
336         //      map textures/evil4_lights/mtl_l1_glow.tga\r
337         //      blendfunc add\r
338         //      tcmod scale 1 1\r
339         //}\r
340         //{\r
341         //      map $lightmap\r
342         //      rgbGen identity\r
343         //      blendfunc filter\r
344         //}\r
345 }\r
346 \r
347 //border light\r
348 \r
349 textures/evil4_lights/trimtl_grlbtm_light\r
350 {\r
351         q3map_surfacelight 5000\r
352         qer_editorimage textures/evil4_lights/trimtl_grlbtm_light.tga\r
353         {\r
354                 map textures/evil4_lights/trimtl_grlbtm_light.tga\r
355                 rgbGen identity\r
356         }\r
357         {\r
358                 map $lightmap\r
359                 rgbGen identity\r
360                 blendfunc gl_dst_color gl_zero\r
361         }\r
362 }\r
363 \r
364 textures/evil4_lights/s_bluelight\r
365 {\r
366         q3map_surfacelight 1000\r
367         q3map_lightimage textures/evil4_lights/s_bluelight.tga\r
368         {\r
369                 map textures/evil4_lights/s_bluelight.tga\r
370                 rgbGen identity\r
371         }       \r
372         {\r
373                 map $lightmap\r
374                 rgbGen identity\r
375                 blendfuns filter\r
376         }\r
377 }\r
378 \r
379 //********************************************\r
380 //********************************************\r
381 //********************************************\r
382 //**************evil fx section******************\r
383 //********************************************\r
384 //********************************************\r
385 //********************************************\r
386 \r
387 // portal\r
388 \r
389 textures/evil4_fx/mtlportal_fx\r
390 {\r
391         qer_editorimage textures/evil4_fx/mtlportal.tga\r
392         cull disable\r
393         surfaceparm nomarks\r
394         surfaceparm trans\r
395         sort additive\r
396         {\r
397                 clampmap textures/evil4_fx/mtlportal_fx1.tga\r
398                 blendFunc add\r
399                 tcmod rotate -100\r
400                 rgbGen identity\r
401         }\r
402         {\r
403                 clampmap textures/evil4_fx/mtlportal_fx2.tga\r
404                 blendFunc add\r
405                 tcmod rotate 100\r
406                 rgbGen identity\r
407         }\r
408         {\r
409                 clampmap textures/evil4_fx/mtlportal.tga\r
410                 alphaFunc GE128\r
411                 depthWrite\r
412                 rgbGen identity\r
413         }\r
414         {\r
415                 map $lightmap\r
416                 rgbGen identity\r
417                 blendFunc GL_DST_COLOR GL_ZERO\r
418                 depthFunc equal\r
419         }\r
420 }\r
421 \r
422 //snow\r
423 textures/evil4_fx/teleprtr\r
424 {\r
425         cull disable\r
426         surfaceparm nomarks\r
427         surfaceparm trans\r
428         sort additive\r
429         {\r
430                 clampmap textures/evil4_fx/teleprtr_fx3.tga\r
431                 blendFunc add\r
432                 tcmod rotate -267\r
433                 rgbGen identity\r
434         }\r
435         {\r
436                 clampmap textures/evil4_fx/teleprtr_fx1.tga\r
437                 blendFunc add\r
438                 tcmod rotate 155\r
439                 rgbGen identity\r
440         }\r
441         {\r
442                 clampmap textures/evil4_fx/teleprtr_fx2.tga\r
443                 blendFunc add\r
444                 tcmod rotate -100\r
445                 rgbGen identity\r
446         }\r
447         {\r
448                 clampmap textures/evil4_fx/teleprtr.tga\r
449                 alphaFunc GE128\r
450                 depthWrite\r
451                 rgbGen identity\r
452         }\r
453         {\r
454                 map $lightmap\r
455                 rgbGen identity\r
456                 blendFunc GL_DST_COLOR GL_ZERO\r
457                 depthFunc equal\r
458         }\r
459 }\r
460 \r
461 //********************************************\r
462 //********************************************\r
463 //********************************************\r
464 //**************evil tech wall section************\r
465 //********************************************\r
466 //********************************************\r
467 //********************************************\r
468 \r
469 textures/evil4_techwalls/tech_dw2\r
470 {\r
471         {\r
472                 map textures/evil4_techwalls/tech_dw2.tga\r
473                 rgbGen identity\r
474         }\r
475         {\r
476                 map $lightmap\r
477                 blendfunc filter\r
478                 rgbGen identity\r
479         }\r
480         {\r
481                 map textures/evil4_techwalls/tech_dw2_fx.tga\r
482                 blendFunc add\r
483                 rgbGen wave sin .5 .5 0 3\r
484         }\r
485 }\r
486 \r
487 textures/evil4_techwalls/tech_dw2g\r
488 {\r
489         {\r
490                 map textures/evil4_techwalls/tech_dw2g.tga\r
491                 rgbGen identity\r
492         }\r
493         {\r
494                 map $lightmap\r
495                 blendfunc filter\r
496                 rgbGen identity\r
497         }\r
498         {\r
499                 map textures/evil4_techwalls/tech_dw2_fx.tga\r
500                 blendFunc add\r
501                 rgbGen wave sin .5 .5 0 3\r
502         }\r
503 }\r
504 \r
505 textures/evil4_techwalls/tech_dw2gb\r
506 {\r
507         {\r
508                 map textures/evil4_techwalls/tech_dw2gb.tga\r
509                 rgbGen identity\r
510         }\r
511         {\r
512                 map $lightmap\r
513                 blendfunc filter\r
514                 rgbGen identity\r
515         }\r
516         {\r
517                 map textures/evil4_techwalls/tech_dw2_fx.tga\r
518                 blendFunc add\r
519                 rgbGen wave sin .5 .5 0 3\r
520         }\r
521 }\r
522 \r
523 textures/evil4_techwalls/tech_wall_dlight\r
524 {\r
525         surfaceparm nomarks\r
526         q3map_surfacelight 5000\r
527         {\r
528                 map $lightmap\r
529                 rgbGen identity\r
530         }\r
531         {\r
532                 map textures/evil4_techwalls/tech_wall_dlight.tga\r
533                 blendFunc GL_DST_COLOR GL_ZERO\r
534                 rgbGen identity\r
535         }\r
536 }\r
537 \r
538 \r
539 \r
540 \r
541 //tech window with transparency\r
542 \r
543 textures/evil4_techwalls/tech_window\r
544 {\r
545         cull twosided\r
546 \r
547         {\r
548                 map textures/evil4_techwalls/tech_window.tga\r
549                 blendFunc blend\r
550                 rgbGen identity\r
551         }\r
552         {\r
553                 map $lightmap\r
554                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
555                 rgbGen identity\r
556         }\r
557 }\r
558 \r
559 //********************************************\r
560 //********************************************\r
561 //********************************************\r
562 //********************************************\r
563 //********************************************\r
564 // techwall section II\r
565 // This is the ÒdirtyÓ version of the evil_techwalls...\r
566 // I added Òd_Ó to the filenames.\r
567 //********************************************\r
568 //********************************************\r
569 //********************************************\r
570 //********************************************\r
571 //********************************************\r
572 \r
573 textures/evil4_d_techwalls/d_tech_dw2\r
574 {\r
575         {\r
576                 map textures/evil4_d_techwalls/d_tech_dw2.tga\r
577                 rgbGen identity\r
578         }\r
579         {\r
580                 map $lightmap\r
581                 blendfunc filter\r
582                 rgbGen identity\r
583         }\r
584         {\r
585                 map textures/evil4_d_techwalls/d_tech_dw2_fx.tga\r
586                 blendFunc add\r
587                 rgbGen wave sin .5 .5 0 3\r
588         }\r
589 }\r
590 \r
591 textures/evil4_d_techwalls/d_tech_dw2g\r
592 {\r
593         {\r
594                 map textures/evil4_d_techwalls/d_tech_dw2g.tga\r
595                 rgbGen identity\r
596         }\r
597         {\r
598                 map $lightmap\r
599                 blendfunc filter\r
600                 rgbGen identity\r
601         }\r
602         {\r
603                 map textures/evil4_d_techwalls/d_tech_dw2_fx.tga\r
604                 blendFunc add\r
605                 rgbGen wave sin .5 .5 0 3\r
606         }\r
607 }\r
608 \r
609 textures/evil4_d_techwalls/d_tech_dw2gb\r
610 {\r
611         {\r
612                 map textures/evil4_d_techwalls/d_tech_dw2gb.tga\r
613                 rgbGen identity\r
614         }\r
615         {\r
616                 map $lightmap\r
617                 blendfunc filter\r
618                 rgbGen identity\r
619         }\r
620         {\r
621                 map textures/evil4_d_techwalls/d_tech_dw2_fx.tga\r
622                 blendFunc add\r
623                 rgbGen wave sin .5 .5 0 3\r
624         }\r
625 }\r
626 \r
627 textures/evil4_d_techwalls/d_tech_wall_dlight\r
628 {\r
629         surfaceparm nomarks\r
630         q3map_surfacelight 5000\r
631         {\r
632                 map textures/evil4_d_techwalls/d_tech_wall_dlight.tga\r
633                 rgbGen identity\r
634         }\r
635         {\r
636                 map $lightmap\r
637                 blendfunc filter\r
638                 rgbGen identity\r
639         }\r
640 }\r
641 \r
642 textures/evil4_d_techwalls/d_tech_window\r
643 {\r
644         cull twosided\r
645         {\r
646                 map textures/evil4_d_techwalls/d_tech_window.tga\r
647                 blendFunc blend\r
648                 rgbGen identity\r
649         }\r
650 \r
651         {\r
652                 map $lightmap\r
653                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
654                 rgbGen identity\r
655         }\r
656 }\r
657 \r
658 \r
659 \r
660 textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb2\r
661 {\r
662         {\r
663                 map textures/evil4_d_techwalls/d_drkmtl_dpanelwrnb2.tga\r
664                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
665                 rgbGen identity\r
666         }\r
667         {\r
668                 map $lightmap\r
669                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
670                 rgbGen identity\r
671         }\r
672 }\r