Debian Codegraph @

pak0/scripts/liquid_water.shader

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