Debian Codegraph @

pak6-patch088/scripts/liquid_water.shader

raw
1 textures/liquids/islewater
2 {
3 surfaceparm nomarks
4 surfaceparm trans
5 surfaceparm water
6 cull disable
7 fogparms ( 0.345098 0.513726 0.788235 ) 1024
8 {
9 map textures/liquids/pool2.tga
10 blendfunc filter
11 tcMod scroll 0.05 0.05
12 }
13 {
14 map textures/liquids/pool3d_4b2.tga
15 blendfunc add
16 rgbGen const ( 0.501961 0.501961 0.501961 )
17 tcMod scroll -0.03 -0.06
18 }
19 {
20 map textures/liquids/pool3d_4b2.tga
21 blendfunc add
22 rgbGen const ( 0.501961 0.501961 0.501961 )
23 tcGen environment
24 }
25 {
26 map $lightmap
27 blendfunc filter
28 rgbGen identity
29 tcGen lightmap
30 }
31 }
32
33
34 textures/ice/coldwater
35 {
36 qer_editorimage textures/ice/coldwater.tga
37 surfaceparm nonsolid
38 surfaceparm trans
39 surfaceparm water
40 cull disable
41 qer_trans 0.5
42 q3map_globaltexture
43 {
44 map textures/ice/coldwater.tga
45 blendfunc filter
46 tcMod scroll 0.01 0.01
47 }
48 {
49 map textures/effects/tinfx2.tga
50 blendfunc add
51 tcGen environment
52 }
53 {
54 map textures/ice/coldwater.tga
55 blendfunc add
56 tcMod scroll 0.04 0.01
57 }
58 }
59
60 textures/liquids/vorwater
61 {
62 surfaceparm nomarks
63 surfaceparm trans
64 surfaceparm water
65 cull disable
66 {
67 map textures/liquids/vorwater.tga
68 blendfunc add
69 rgbGen const ( 0.501961 0.501961 0.501961 )
70 tcMod scroll -0.009 -0.005
71 }
72 {
73 map textures/liquids/vorwater.tga
74 blendfunc add
75 rgbGen const ( 0.501961 0.501961 0.501961 )
76 tcMod scroll 0.004 -0.007
77 }
78 }
79
80 textures/savdm6ish/#teleport
81 {
82 q3map_lightimage textures/liquids/pool3d_3.tga
83 surfaceparm nomarks
84 surfaceparm trans
85 surfaceparm water
86 cull disable
87 q3map_surfacelight 900
88 q3map_flare flareShader-portal
89 {
90 map textures/liquids/pool3d_5e.tga
91 rgbGen const ( 0.478431 0.294118 0.172549 )
92 tcMod scroll 0.05 0.05
93 }
94 {
95 map textures/liquids/pool3d_3e.tga
96 blendfunc add
97 rgbGen const ( 0.517647 0.305882 0.2 )
98 tcMod rotate 8
99 tcMod turb 0 1 0 0.04
100 }
101 {
102 map textures/liquids/pool3d_5.tga
103 blendfunc add
104 rgbGen const ( 0.584314 0.376471 0.25098 )
105 tcMod scroll 0.07 0.01
106 }
107 }
108
109 textures/liquids/tele
110 {
111 q3map_lightimage textures/liquids/pool3d_3.tga
112 surfaceparm nomarks
113 surfaceparm trans
114 surfaceparm water
115 cull disable
116 q3map_surfacelight 900
117 q3map_flare flareShader-portal
118 {
119 map textures/liquids/pool3d_5e.tga
120 rgbGen const ( 0.501961 0.501961 0.501961 )
121 tcMod scroll 0.05 0.05
122 tcMod rotate 545
123 }
124 {
125 map textures/liquids/pool3d_3e.tga
126 blendfunc add
127 rgbGen const ( 0.501961 0.501961 0.501961 )
128 tcMod scroll -0.03 -0.06
129 tcMod rotate 8
130 tcMod turb 0 1 0 0.04
131 }
132 {
133 map textures/liquids/pool3d_3e.tga
134 blendfunc add
135 rgbGen const ( 0.501961 0.501961 0.501961 )
136 tcMod scroll 0.07 0.01
137 tcMod rotate -3
138 tcMod turb 0 4 0 0.01
139 }
140 }
141
142 textures/liquids/refwater
143 {
144 surfaceparm nomarks
145 surfaceparm trans
146 surfaceparm water
147 cull disable
148 portal
149 {
150 map textures/liquids/vorwater.tga
151 blendfunc filter
152 rgbGen const ( 0.501961 0.501961 0.501961 )
153 tcMod scroll 0.05 0.05
154 }
155 {
156 map textures/liquids/pool3d_3.tga
157 blendfunc add
158 rgbGen const ( 0.501961 0.501961 0.501961 )
159 tcMod scroll -0.03 -0.06
160 }
161 {
162 map textures/liquids/pool3d_3.tga
163 blendfunc add
164 rgbGen const ( 0.501961 0.501961 0.501961 )
165 tcMod scroll 0.07 0.01
166 }
167 }
168
169 //updated for current textures 02-15-07 dmn_clown
170 textures/liquids/waveywater
171 {
172 surfaceparm nomarks
173 surfaceparm trans
174 surfaceparm water
175 cull disable
176 {
177 map textures/liquids/pool2.jpg
178 blendfunc filter
179 rgbGen const ( 1 1 1 )
180 tcMod scroll 0.05 0.05
181 }
182 {
183 map textures/liquids/ripple.jpg
184 blendfunc gl_dst_color gl_one
185 rgbGen const ( 1 1 1 )
186 tcMod scroll -0.03 -0.06
187 }
188 {
189 map textures/liquids/ripple.jpg
190 blendfunc gl_dst_color gl_one
191 rgbGen const ( 1 1 1 )
192 tcMod scroll -0.02 -0.08
193 }
194 }
195 //updated for current textures 02-15-07 dmn_clown
196 textures/liquids/justwater
197 {
198 surfaceparm nomarks
199 surfaceparm trans
200 surfaceparm water
201 cull disable
202 {
203 map textures/liquids/pool3d_4b2.jpg
204 blendfunc blend
205 rgbGen const ( 0.384314 0.501961 0.568627 )
206 tcMod scroll 0.05 -0.05
207 alphaGen wave inversesawtooth 0.5 0 0 1
208 }
209 {
210 map textures/liquids/pool3d_3.jpg
211 blendfunc gl_dst_color gl_one
212 rgbGen const ( 1 1 1 )
213 tcMod scroll 0.09 0.06
214 }
215 {
216 map textures/liquids/pool3d_5.tga
217 blendfunc gl_dst_color gl_one
218 rgbGen const ( 1 1 1 )
219 tcMod scroll -0.04 -0.08
220 }
221 }
222
223 //updated for current textures 02-15-07 dmn_clown
224 textures/liquids/rapidwater
225 {
226 surfaceparm nomarks
227 surfaceparm trans
228 surfaceparm water
229 cull disable
230 {
231 map textures/liquids/ripple.jpg
232 blendfunc gl_dst_color gl_src_color
233 tcMod scroll -0.2 -0.4
234 }
235 {
236 map textures/liquids/ripple.jpg
237 blendfunc gl_dst_color gl_src_color
238 tcMod scroll -0.2 -0.5
239 }
240 }
241
242 textures/liquids/softwater
243 {
244 surfaceparm nomarks
245 surfaceparm trans
246 surfaceparm water
247 cull disable
248 {
249 map textures/liquids/pool2.tga
250 blendfunc filter
251 tcMod scroll 0.05 0.05
252 }
253 {
254 map textures/liquids/pool2.tga
255 blendfunc add
256 rgbGen const ( 0.501961 0.501961 0.501961 )
257 tcMod scroll -0.03 -0.06
258 }
259 {
260 map textures/liquids/pool2.tga
261 blendfunc add
262 rgbGen const ( 0.501961 0.501961 0.501961 )
263 tcMod scroll 0.07 0.01
264 }
265 }
266
267 //added for backwards compat
268 //02-15-07 dmn_clown
269
270 textures/liquids/clear_ripple3
271 {
272 qer_editorimage textures/liquids/pool3d_3.jpg
273 surfaceparm trans
274 surfaceparm nonsolid
275 surfaceparm water
276 cull disable
277 deformVertexes wave 64 sin .25 .25 0 .5
278
279 {
280 map textures/liquids/pool3d_5.jpg
281 blendFunc gl_dst_color gl_one
282 rgbgen identity
283 tcmod scroll -.05 .001
284 }
285
286 {
287 map textures/liquids/pool3d_6.jpg
288 blendFunc gl_dst_color gl_one
289 rgbgen identity
290 tcmod scroll .025 -.001
291 }
292 {
293 map textures/liquids/pool3d_5e.jpg
294 blendFunc gl_dst_color gl_one
295 rgbgen identity
296 tcmod scroll .001 .025
297 }
298 {
299 map $lightmap
300 blendFunc gl_dst_color gl_zero
301 rgbgen identity
302 }
303
304
305 }
306
307 textures/liquids/clear_ripple1
308 {
309 qer_editorimage textures/liquids/pool3d_3.jpg
310 surfaceparm trans
311 surfaceparm nonsolid
312 surfaceparm water
313 cull disable
314 deformVertexes wave 64 sin .5 .5 0 .5
315
316 {
317 map textures/liquids/pool3d_5.jpg
318 blendFunc gl_dst_color gl_one
319 rgbgen identity
320 tcmod scroll -.05 .001
321 }
322
323 {
324 map textures/liquids/pool3d_6.jpg
325 blendFunc gl_dst_color gl_one
326 rgbgen identity
327 tcmod scroll .025 -.001
328 }
329 {
330 map $lightmap
331 blendFunc gl_dst_color gl_zero
332 rgbgen identity
333 }
334
335
336 }
337
338 textures/liquids/clear_ripple2
339 {
340 qer_editorimage textures/liquids/pool3d_3.jpg
341 surfaceparm trans
342 surfaceparm nonsolid
343 surfaceparm water
344 cull disable
345 deformVertexes wave 64 sin .25 .25 0 .5
346
347 {
348 map textures/liquids/pool3d_5.jpg
349 blendFunc gl_dst_color gl_one
350 rgbgen identity
351 tcmod scroll -.025 .001
352 }
353
354 {
355 map textures/liquids/pool3d_6.jpg
356 blendFunc gl_dst_color gl_one
357 rgbgen identity
358 tcmod scroll .03 -.001
359 }
360 {
361 map textures/liquids/pool3d_5e.jpg
362 blendFunc gl_dst_color gl_one
363 rgbgen identity
364 tcmod scroll .001 .025
365 }
366 {
367 map $lightmap
368 blendFunc gl_dst_color gl_zero
369 rgbgen identity
370 }
371
372
373 }
374
375 textures/liquids/clear_calm1
376 {
377 qer_editorimage textures/liquids/pool3d_5e.jpg
378 surfaceparm trans
379 surfaceparm nonsolid
380 surfaceparm water
381 cull none
382
383
384 {
385 map textures/liquids/pool3d_5e.jpg
386 blendFunc gl_dst_color gl_one
387 rgbgen identity
388 tcmod turb .04 .01 .5 .03
389 }
390
391 {
392 map textures/liquids/pool3d_6.jpg
393 blendFunc gl_dst_color gl_one
394 rgbgen identity
395 tcmod scroll .025 -.001
396 }
397 {
398 map textures/liquids/pool3d_5.jpg
399 blendFunc gl_dst_color gl_one
400 rgbgen identity
401 tcmod scroll .001 .025
402 }
403 {
404 map $lightmap
405 blendFunc gl_dst_color gl_zero
406 rgbgen identity
407 }
408
409
410 }
411
412 textures/liquids/calm_poollight
413 {
414 qer_editorimage textures/liquids/pool3d_3.jpg
415 surfaceparm trans
416 surfaceparm nonsolid
417 surfaceparm water
418 cull disable
419 q3map_surfacelight 100
420 deformVertexes wave 64 sin .25 .25 0 .5
421
422 {
423 map textures/liquids/pool3d_5.jpg
424 blendFunc gl_dst_color gl_one
425 rgbgen identity
426 tcmod scroll -.05 .001
427 }
428
429 {
430 map textures/liquids/pool3d_6.jpg
431 blendFunc gl_dst_color gl_one
432 rgbgen identity
433 tcmod scroll .025 -.001
434 }
435 {
436 map textures/liquids/pool3d_5e.jpg
437 blendFunc gl_dst_color gl_one
438 rgbgen identity
439 tcmod scroll .001 .025
440 }
441 {
442 map $lightmap
443 blendFunc gl_dst_color gl_zero
444 rgbgen identity
445 }
446
447
448 }
449
450 textures/liquids/clear_calm2
451 {
452 qer_editorimage textures/liquids/pool3d_5e.jpg
453 surfaceparm trans
454 surfaceparm nonsolid
455 surfaceparm water
456 cull none
457
458 {
459 map textures/liquids/pool3d_6.jpg
460 blendFunc gl_dst_color gl_one
461 rgbgen identity
462 tcmod scroll .025 -.001
463 }
464 {
465 map textures/liquids/pool3d_5.jpg
466 blendFunc gl_dst_color gl_one
467 rgbgen identity
468 tcmod scroll .001 .025
469 }
470 {
471 map $lightmap
472 blendFunc gl_dst_color gl_zero
473 rgbgen identity
474 }
475 {
476 map textures/effects/sky.jpg
477 tcgen environment
478 blendfunc add
479 rgbgen vertex
480 }
481 {
482 map $lightmap
483 blendfunc filter
484 rgbgen identity
485 }
486 }
487
488 textures/liquids/hydrowater
489 {
490 surfaceparm nomarks
491 surfaceparm trans
492 surfaceparm water
493 cull disable
494 deformVertexes wave 256 sin 0 7 0 0.4
495 fogparms ( 0.215686 0.278431 0.333333 ) 1024
496 {
497 map textures/liquids/pool2.tga
498 blendfunc filter
499 tcMod scroll 0.05 0.05
500 }
501 {
502 map textures/liquids/pool3d_4b2.tga
503 blendfunc add
504 rgbGen const ( 0.501961 0.501961 0.501961 )
505 tcMod scroll -0.03 -0.06
506 //GLSL map textures/liquids/pool2.tga
507 //GLSL map2 textures/liquids/pool2_normal.tga
508 //GLSL program water
509 //GLSL vertexProgram glsl/water_vp.glsl
510 //GLSL fragmentProgram glsl/water_fp.glsl
511 }
512 {
513 map textures/liquids/pool3d_4b2.tga
514 blendfunc add
515 rgbGen const ( 0.501961 0.501961 0.501961 )
516 tcGen environment
517 }
518 {
519 map $lightmap
520 blendfunc filter
521 rgbGen identity
522 }
523 }
524
525 textures/liquids2/clear_calm1v
526 {
527 qer_editorimage textures/liquids/pool3d_5e.jpg
528 surfaceparm trans
529 surfaceparm nonsolid
530 surfaceparm water
531 cull none
532 fogparms ( 0.215686 0.278431 0.333333 ) 512
533 {
534 map textures/liquids/pool3d_5e.jpg
535 blendFunc gl_dst_color gl_one
536 rgbgen identity
537 tcmod turb .04 .01 .5 .03
538 }
539
540 {
541 map textures/liquids/pool3d_6.jpg
542 blendFunc gl_dst_color gl_one
543 rgbgen identity
544 tcmod scroll .025 -.001
545 }
546 {
547 map textures/liquids/pool3d_5.jpg
548 blendFunc gl_dst_color gl_one
549 rgbgen identity
550 tcmod scroll .001 .025
551 }
552 {
553 map textures/effects/sky.jpg
554 blendFunc add
555 rgbgen const ( .5 .5 .5 )
556 tcgen environment
557 }
558 {
559 map $lightmap
560 blendFunc filter
561 rgbgen identity
562 }
563 }
564
565 textures/liquids2/clear_ripple1_q3dm1v
566 {
567 qer_editorimage textures/liquids/pool3d_5e.jpg
568 surfaceparm trans
569 surfaceparm nonsolid
570 surfaceparm water
571 cull none
572 fogparms ( 0.215686 0.278431 0.333333 ) 512
573 deformvertexes wave 128 sin .5 .5 .5 .5
574 {
575 map textures/liquids/pool3d_5e.jpg
576 blendFunc gl_dst_color gl_one
577 rgbgen identity
578 tcmod turb .04 .01 .5 .03
579 }
580
581 {
582 map textures/liquids/pool3d_6.jpg
583 blendFunc gl_dst_color gl_one
584 rgbgen identity
585 tcmod scroll .025 -.001
586 }
587 {
588 map textures/liquids/pool3d_5.jpg
589 blendFunc gl_dst_color gl_one
590 rgbgen identity
591 tcmod scroll .001 .025
592 }
593 {
594 map textures/effects/sky.jpg
595 blendFunc add
596 rgbgen const ( .5 .5 .5 )
597 tcgen environment
598 }
599 {
600 map $lightmap
601 blendFunc filter
602 rgbgen identity
603 }
604 }
605
606 textures/liquids2/clear_ripple1_q3dm1light
607 {
608 qer_editorimage textures/liquids/pool3d_5e.jpg
609 surfaceparm trans
610 surfaceparm nonsolid
611 surfaceparm water
612 cull none
613 q3map_surfacelight 100
614 fogparms ( 0.215686 0.278431 0.333333 ) 1024
615 deformvertexes wave 256 sin .5 .5 .5 .5
616 {
617 map textures/liquids/pool3d_5e.jpg
618 blendFunc gl_dst_color gl_one
619 rgbgen identity
620 tcmod turb .04 .01 .5 .03
621 }
622
623 {
624 map textures/liquids/pool3d_6.jpg
625 blendFunc gl_dst_color gl_one
626 rgbgen identity
627 tcmod scroll .025 -.001
628 }
629 {
630 map textures/liquids/pool3d_5.jpg
631 blendFunc gl_dst_color gl_one
632 rgbgen identity
633 tcmod scroll .001 .025
634 }
635 {
636 map textures/effects/sky.jpg
637 blendFunc add
638 rgbgen const ( .5 .5 .5 )
639 tcgen environment
640 }
641 {
642 map $lightmap
643 blendFunc filter
644 rgbgen identity
645 }
646 }
647
648 ////////////////////////////////////////////
649 ///////////////// slimey ///////////////////
650 ////////////////////////////////////////////
651
652 textures/liquids/acid
653 {
654 q3map_lightimage textures/liquids/slime7.tga
655 surfaceparm nomarks
656 surfaceparm slime
657 surfaceparm trans
658 surfaceparm water
659 cull disable
660 deformVertexes wave 256 sin 0 9 0 0.4
661 tessSize 128
662 q3map_surfacelight 900
663 {
664 map textures/effects/tinfx2.tga
665 blendfunc add
666 tcGen environment
667 }
668 {
669 map textures/liquids/slime7c.tga
670 blendfunc add
671 rgbGen const ( 0.501961 0.501961 0.501961 )
672 tcMod scroll -0.03 -0.06
673 }
674 {
675 map textures/liquids/slime7.tga
676 blendfunc add
677 rgbGen const ( 0.501961 0.501961 0.501961 )
678 tcMod scroll 0.07 0.01
679 }
680 }
681
682 textures/liquids/oldacid
683 {
684 q3map_lightimage textures/liquids/slime7.tga
685 surfaceparm nomarks
686 surfaceparm slime
687 surfaceparm trans
688 surfaceparm water
689 cull disable
690 deformVertexes wave 32 sin 0 3 0 0.2
691 deformVertexes wave 64 sin 0 7 0 0.6
692 q3map_surfacelight 333
693 {
694 map textures/liquids/slime7.tga
695 blendfunc filter
696 rgbGen const ( 0.501961 0.501961 0.501961 )
697 tcMod scroll 0.05 0.05
698 }
699 {
700 map textures/effects/tinfx2.tga
701 blendfunc add
702 tcGen environment
703 }
704 {
705 map textures/liquids/slime7c.tga
706 blendfunc add
707 rgbGen const ( 0.501961 0.501961 0.501961 )
708 tcMod scroll -0.03 -0.06
709 }
710 {
711 map textures/liquids/slime7.tga
712 blendfunc add
713 rgbGen const ( 0.501961 0.501961 0.501961 )
714 tcMod scroll 0.07 0.01
715 }
716 }
717
718 textures/liquids/slime1
719 {
720 qer_editorimage textures/liquids/slime8.jpg
721 q3map_lightimage textures/liquids/slime8.jpg
722 surfaceparm noimpact
723 surfaceparm slime
724 surfaceparm nolightmap
725 surfaceparm trans
726 q3map_surfacelight 150
727 deformVertexes wave 64 sin .25 .25 0 .5
728 {
729 map textures/liquids/slime8.jpg
730 tcmod turb .05 -0.5 0 0.02
731 tcmod scroll .05 -.01
732 }
733 {
734 map textures/liquids/slime8.jpg
735 blendfunc filter
736 tcmod turb .012 -0.1 0 0.04
737 tcmod scroll .003 -.008
738 }
739 }
740
741 textures/liquids/slime1_2000
742 {
743 qer_editorimage textures/liquids/slime8.jpg
744 q3map_lightimage textures/liquids/slime8.jpg
745 surfaceparm noimpact
746 surfaceparm slime
747 surfaceparm nolightmap
748 surfaceparm trans
749 q3map_surfacelight 2000
750 deformVertexes wave 64 sin .25 .25 0 .5
751 {
752 map textures/liquids/slime8.jpg
753 tcmod turb .05 -0.5 0 0.02
754 tcmod scroll .05 -.01
755 }
756 {
757 map textures/liquids/slime8.jpg
758 blendfunc filter
759 tcmod turb .012 -0.1 0 0.04
760 tcmod scroll .003 -.008
761 }
762 }
763
764 textures/liquids/proto_poolpass
765 {
766 q3map_globaltexture
767 qer_editorimage textures/liquids/proto_gruel3.jpg
768 q3map_surfacelight 300
769 surfaceparm slime
770 surfaceparm trans
771 {
772 map textures/liquids/proto_gruel3.jpg
773 tcmod turb .1 .3 .5 .1
774 }
775 {
776 map textures/liquids/proto_gruel2.jpg
777 blendfunc add
778 tcmod turb 012 -0.1 0 0.04
779 }
780 {
781 map $lightmap
782 rgbgen identity
783 blendfunc filter
784 }
785 {
786 map textures/sfx/kenelectric.jpg
787 blendfunc add
788 tcmod scale .4 .4
789 tcmod scroll .4 -.4
790 tcmod rotate 500
791 }
792 }
793
794 textures/liquids/slime2
795 {
796 qer_editorimage textures/liquids/slime10.jpg
797 q3map_lightimage textures/liquids/slime8.jpg
798 surfaceparm noimpact
799 surfaceparm slime
800 surfaceparm nolightmap
801 surfaceparm trans
802 q3map_surfacelight 150
803 deformVertexes wave 64 sin .25 .25 0 .5
804 {
805 map textures/liquids/slime8.jpg
806 tcmod turb .05 -0.5 0 0.02
807 tcmod scroll .05 -.01
808 }
809 {
810 map textures/liquids/slime10.jpg
811 blendfunc filter
812 tcmod scale .3 .3
813 tcmod turb .012 -0.1 0 0.04
814 tcmod scroll .003 -.008
815 }
816 {
817 map textures/liquids/proto_gruel3.jpg
818 blendfunc add
819 tcmod scale .9 .9
820 tcmod turb 012 -0.1 0 0.04
821 }
822 }
823
824 textures/liquids/slime3
825 {
826 qer_editorimage textures/liquids/slime9.jpg
827 q3map_lightimage textures/liquids/slime9.jpg
828 surfaceparm noimpact
829 surfaceparm slime
830 surfaceparm nolightmap
831 surfaceparm trans
832 q3map_surfacelight 150
833 deformVertexes wave 64 sin .25 .25 0 .5
834 {
835 map textures/liquids/slime9.jpg
836 tcmod scale .5 .5
837 tcmod turb .05 -0.5 0 0.02
838 tcmod scroll .05 -.01
839 }
840 {
841 map textures/liquids/slime9.jpg
842 blendfunc filter
843 tcmod scale .3 .3
844 tcmod turb .012 -0.1 0 0.04
845 tcmod scroll .003 -.008
846 }
847 }