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