]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - data/scripts/ab.shader
Greatwall revisited shader
[voretournament/voretournament.git] / data / scripts / ab.shader
1 abteren\r
2 {\r
3         qer_editorimage textures/ab/ter.tga\r
4         \r
5         q3map_nonplanar\r
6         q3map_shadeangle 120\r
7         q3map_globalTexture\r
8         q3map_lightmapsamplesize 32\r
9         q3map_lightmapsampleoffset 10\r
10         q3map_alphaMod dotproduct2 ( 0 0 0.80 )\r
11         {\r
12                 map textures/ab/dirt.tga        // Primary\r
13                 tcmod scale 24 24\r
14                 rgbGen identity\r
15         }\r
16         {\r
17                 map textures/ab/grass.tga       // Secondary\r
18                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
19                 tcmod scale 24 24\r
20                 rgbGen identity\r
21                 alphaGen vertex\r
22         }\r
23         {\r
24                 map $lightmap\r
25                 blendFunc GL_DST_COLOR GL_ZERO\r
26                 rgbGen identity\r
27         }\r
28 }\r
29 woda2\r
30 {\r
31 \r
32         qer_editorimage textures/water/water0.tga\r
33         qer_trans 20\r
34         surfaceparm nomarks\r
35         deformVertexes wave sin 1 3 2 0.2\r
36         surfaceparm trans\r
37         surfaceparm nolightmap\r
38         cull disable\r
39         {\r
40                 map textures/ab/water0.tga\r
41                 tcMod turb 444 0.8 45 0.005\r
42                 tcMod rotate 0.3\r
43                 tcMod scroll 0.01 0\r
44                 tcMod turb 77 0.5 0 0.0045\r
45                 tcMod turb 6 0.3 789 0.0145\r
46                 tcMod scale 0.4 0.4\r
47                 blendfunc add\r
48         }\r
49 \r
50 }\r
51 textures/ab/woda\r
52 {\r
53         qer_editorimage textures/water/water0.tga\r
54         qer_trans 20\r
55         q3map_backshader woda2\r
56         surfaceparm nomarks\r
57         surfaceparm trans\r
58         surfaceparm water\r
59         surfaceparm nolightmap\r
60         cull disable\r
61         deformVertexes wave sin 1 3 2 0.2\r
62         q3map_globaltexture\r
63         {\r
64                 map textures/ab/water0.tga\r
65                 tcMod turb 444 0.6 45 0.001\r
66                 tcMod rotate 0.2\r
67                 tcMod scroll 0.01 0\r
68                 tcMod turb 77 -0.1 0 0.004\r
69                 tcMod turb 6 0.3 789 0.004\r
70                 tcMod scale 0.4 0.4\r
71                 blendfunc add\r
72 \r
73         }\r
74         dp_water 0.1 0.8  3 3  1 1 1  1 1 1  0.125\r
75 }\r
76 waterfall1\r
77 {\r
78         qer_editorimage textures/water/water0.tga\r
79         qer_trans 20\r
80         cull none\r
81         surfaceparm nomarks\r
82         deformVertexes bulge 0.1 20 1\r
83         surfaceparm trans\r
84         surfaceparm nolightmap\r
85                 {\r
86                 map textures/water/water0.tga\r
87                 tcMod scroll 0.07 0.17\r
88                 tcmod scale 1.2 0.7\r
89                 blendfunc blend\r
90         }\r
91 }\r
92 \r
93 mist\r
94 {\r
95 cull none\r
96         qer_editorimage textures/ab/mist.tga\r
97         qer_trans 0.8\r
98         surfaceparm trans\r
99         surfaceparm nolightmap\r
100         q3map_vertexScale 3\r
101         deformVertexes bulge 0.1 20 1\r
102         deformVertexes wave 128 sin 0 1 0 0.1 \r
103         {\r
104                 map textures/ab/mist.tga\r
105                 rgbGen vertex\r
106                 blendfunc add\r
107         }\r
108 }\r
109 \r
110 textures/ab/sky\r
111 {\r
112         qer_editorimage env/strale_grey/ygrey_up.tga\r
113 \r
114         surfaceparm nolightmap\r
115         surfaceparm noimpact\r
116         surfaceparm nomarks\r
117         surfaceparm sky\r
118 \r
119         skyparms env/strale_grey/ygrey - -\r
120         q3map_skylight 200 3\r
121         q3map_lightimage textures/strale_grey/ygrey_up.tga\r
122         q3map_sunext 0.75 0.65 0.6 130 255 80 3 16\r
123 \r
124 }\r
125 \r
126 textures/ab/lightblue\r
127 {\r
128         qer_editorimage textures/ab/lblue.tga\r
129         surfaceparm nolightmap\r
130         q3map_lightsubdivide 32\r
131         q3map_surfacelight 2500\r
132                 {\r
133                 map $lightmap\r
134                 rgbGen identity\r
135             }\r
136         {       \r
137         map textures/ab/lblue.tga\r
138         blendFunc GL_DST_COLOR GL_ZERO\r
139         }\r
140 }\r
141 textures/ab/teamchanger\r
142 {\r
143 qer_editorimage textures/ab/team_radiant.jpg\r
144                 {\r
145                 map $lightmap\r
146                 rgbGen identity\r
147             }\r
148         {       \r
149         map textures/ab/team.jpg\r
150         blendFunc GL_DST_COLOR GL_ZERO\r
151         }\r
152 \r
153 }\r
154 \r
155 ableaf\r
156 {\r
157         cull none\r
158         qer_editorimage textures/ab/leaf.tga\r
159         qer_trans 0.6\r
160         q3map_lightmapSampleSize 128\r
161         surfaceparm nolightmap\r
162         deformVertexes wave 128 sin 0 1 0 0.2 \r
163         {\r
164                 map textures/ab/leaf.tga\r
165                 alphaFunc GE128\r
166                 rgbGen vertex\r
167         }\r
168 }\r
169 \r
170 abbush01\r
171 {\r
172         cull none\r
173         qer_editorimage textures/ab/bush01.tga\r
174         qer_trans 0.6\r
175                 q3map_lightmapSampleSize 128\r
176                 surfaceparm nolightmap\r
177                 q3map_bounceScale 0.2\r
178                 q3map_vertexScale 4.2\r
179         deformVertexes wave 128 sin 0 1 0 0.2 \r
180         {\r
181                 map textures/ab/bush01.tga\r
182                 alphaFunc GE128\r
183                 rgbGen vertex\r
184         }\r
185 }\r
186 abbush02\r
187 {\r
188         cull none\r
189         qer_editorimage textures/ab/bush02.tga\r
190         qer_trans 0.6\r
191         q3map_lightmapSampleSize 128\r
192                 surfaceparm nolightmap\r
193                 q3map_bounceScale 0.2\r
194                 q3map_vertexScale 4.2\r
195         deformVertexes wave 128 sin 0 1 0 0.2 \r
196 \r
197         {\r
198                 map textures/ab/bush02.tga\r
199                 alphaFunc GE128\r
200                 rgbGen vertex\r
201         }\r
202 }\r
203 abjab01\r
204 {\r
205         cull none\r
206         qer_editorimage textures/ab/jab01.tga\r
207         qer_trans 0.6\r
208                 q3map_lightmapSampleSize 128\r
209                 surfaceparm nolightmap\r
210                 q3map_bounceScale 0.2\r
211                 q3map_vertexScale 4.2\r
212         deformVertexes wave 128 sin 0 1 0 0.2 \r
213 \r
214         {\r
215                 map textures/ab/jab01.tga\r
216                 alphaFunc GE128\r
217                 rgbGen vertex\r
218         }\r
219 }\r
220 abjab02\r
221 {\r
222         cull none\r
223         qer_editorimage textures/ab/jab02.tga\r
224         qer_trans 0.6\r
225                 q3map_lightmapSampleSize 128\r
226                 surfaceparm nolightmap\r
227                 q3map_bounceScale 0.2\r
228                 q3map_vertexScale 4.2\r
229         deformVertexes wave 128 sin 0 1 0 0.2 \r
230 \r
231         {\r
232                 map textures/ab/jab02.tga\r
233                 alphaFunc GE128\r
234                 rgbGen vertex\r
235         }\r
236 }\r
237 \r
238 mbush01\r
239 {\r
240         cull none\r
241         qer_editorimage textures/ab/mbush01.tga\r
242         qer_trans 0.6\r
243                 q3map_lightmapSampleSize 128\r
244                 surfaceparm nolightmap\r
245                 q3map_bounceScale 0.2\r
246                 q3map_vertexScale 4.2\r
247         deformVertexes wave 128 sin 0 1 0 0.2 \r
248 \r
249         {\r
250                 map textures/ab/mbush01.tga\r
251                 alphaFunc GE128\r
252                 rgbGen vertex\r
253         }\r
254 }\r
255 mhang01\r
256 {\r
257         cull none\r
258         qer_editorimage textures/ab/mhang01.tga\r
259         qer_trans 0.6\r
260                 q3map_lightmapSampleSize 128\r
261                 surfaceparm nolightmap\r
262                 q3map_bounceScale 0.2\r
263                 q3map_vertexScale 4.2\r
264         deformVertexes wave 128 sin 0 1 0 0.2 \r
265 \r
266         {\r
267                 map textures/ab/mhang01.tga\r
268                 alphaFunc GE128\r
269                 rgbGen vertex\r
270         }\r
271 }\r
272 bush03\r
273 {\r
274         cull none\r
275         qer_editorimage textures/ab/bush03.tga\r
276         qer_trans 0.6\r
277         deformVertexes wave 128 sin 0.1 0.4 0 0.1 \r
278         polygonOffset\r
279         {\r
280                 map textures/ab/bush03.tga\r
281                 alphaFunc GE128\r
282                 rgbGen lightingDiffuse\r
283         }\r
284 }\r
285 bark03\r
286 {\r
287         qer_editorimage textures/woodbark.tga\r
288         {\r
289                 map textures/woodbark.tga\r
290                 rgbGen lightingDiffuse\r
291         }\r
292 }\r
293 \r
294 grassb\r
295 {\r
296 cull none\r
297         qer_editorimage textures/ab/grassb.tga\r
298         qer_trans 0.2\r
299         deformVertexes autosprite2\r
300         surfaceparm nolightmap\r
301         surfaceparm trans\r
302         deformVertexes wave 128 sin 0 1 0 0.2\r
303         {\r
304                 map textures/ab/grassb.tga\r
305                 rgbGen lightingDiffuse\r
306                 alphaFunc GE128\r
307         }\r
308 }\r
309  \r
310 textures/seaweed\r
311 {\r
312         cull none\r
313         qer_editorimage textures/seaweed.tga\r
314         qer_trans 0.6\r
315         q3map_lightmapSampleSize 128\r
316         surfaceparm nolightmap\r
317         deformVertexes wave 128 sin 0 1 0 0.2 \r
318         deformVertexes wave 128 sin 2 10 0 0.2 \r
319         {\r
320                 map textures/seaweed.tga\r
321                 alphaFunc GE128\r
322                 rgbGen vertex\r
323         }\r
324 }\r
325 \r
326 textures/ab/shadow2\r
327 {\r
328         qer_editorimage textures/ab/shadow.tga\r
329         surfaceparm alphashadow\r
330         surfaceparm nodraw\r
331         qer_trans 0.6\r
332         {\r
333                 map textures/ab/shadow.tga\r
334                 alphaFunc GE128\r
335                 \r
336         }\r
337 }\r
338 \r
339 textures/ab/grasspray\r
340 {\r
341         qer_editorimage textures/ab/grassb.tga\r
342         q3map_nonPlanar\r
343         polygonOffset\r
344         q3map_offset 0.016\r
345         surfaceparm nomarks\r
346         surfaceparm nolightmap\r
347         \r
348         {\r
349                 map textures/ab/shadow.tga\r
350                 blendfunc blend\r
351                 \r
352         }\r
353 \r
354 }\r
355 abtree01_f\r
356 {\r
357         cull none\r
358         qer_editorimage textures/ab/abtree01_f.tga\r
359         qer_trans 0.6\r
360                 surfaceparm nolightmap\r
361                 q3map_bounceScale 0.2\r
362                 q3map_vertexScale 4.2\r
363         {\r
364                 map textures/ab/abtree01_f.tga\r
365                 alphaFunc GE128\r
366                 rgbGen vertex\r
367         }\r
368 }\r
369 abtree01_l\r
370 {\r
371         cull none\r
372         qer_editorimage textures/ab/abtree01_l.tga\r
373         qer_trans 0.6\r
374                 surfaceparm nolightmap\r
375                 q3map_bounceScale 0.2\r
376                 q3map_vertexScale 4.2\r
377         {\r
378                 map textures/ab/abtree01_l.tga\r
379                 alphaFunc GE128\r
380                 rgbGen vertex\r
381         }\r
382 }\r
383 abtree02_f\r
384 {\r
385         cull none\r
386         qer_editorimage textures/ab/abtree02_f.tga\r
387         qer_trans 0.6\r
388                 surfaceparm nolightmap\r
389                 q3map_bounceScale 0.2\r
390                 q3map_vertexScale 4.2\r
391         {\r
392                 map textures/ab/abtree02_f.tga\r
393                 alphaFunc GE128\r
394                 rgbGen vertex\r
395         }\r
396 }\r
397 abtree02_l\r
398 {\r
399         cull none\r
400         qer_editorimage textures/ab/abtree02_l.tga\r
401         qer_trans 0.6\r
402                 surfaceparm nolightmap\r
403                 q3map_bounceScale 0.2\r
404                 q3map_vertexScale 4.2\r
405         {\r
406                 map textures/ab/abtree02_l.tga\r
407                 alphaFunc GE128\r
408                 rgbGen vertex\r
409         }\r
410 }\r
411 abtree03_f\r
412 {\r
413         cull none\r
414         qer_editorimage textures/ab/abtree03_f.tga\r
415         qer_trans 0.6\r
416                 surfaceparm nolightmap\r
417                 q3map_bounceScale 0.2\r
418                 q3map_vertexScale 4.2\r
419         {\r
420                 map textures/ab/abtree03_f.tga\r
421                 alphaFunc GE128\r
422                 rgbGen vertex\r
423         }\r
424 }\r
425 abtree03_l\r
426 {\r
427         cull none\r
428         qer_editorimage textures/ab/abtree03_l.tga\r
429         qer_trans 0.6\r
430                 surfaceparm nolightmap\r
431                 q3map_bounceScale 0.2\r
432                 q3map_vertexScale 4.2\r
433         {\r
434                 map textures/ab/abtree03_l.tga\r
435                 alphaFunc GE128\r
436                 rgbGen vertex\r
437         }\r
438 }\r
439 abtree04_f\r
440 {\r
441         cull none\r
442         qer_editorimage textures/ab/abtree04_f.tga\r
443         qer_trans 0.6\r
444                 surfaceparm nolightmap\r
445                 q3map_bounceScale 0.2\r
446                 q3map_vertexScale 4.2\r
447         {\r
448                 map textures/ab/abtree04_f.tga\r
449                 alphaFunc GE128\r
450                 rgbGen vertex\r
451         }\r
452 }\r
453 abtree04_l\r
454 {\r
455         cull none\r
456         qer_editorimage textures/ab/abtree04_l.tga\r
457         qer_trans 0.6\r
458                 surfaceparm nolightmap\r
459                 q3map_bounceScale 0.2\r
460                 q3map_vertexScale 4.2\r
461         {\r
462                 map textures/ab/abtree04_l.tga\r
463                 alphaFunc GE128\r
464                 rgbGen vertex\r
465         }\r
466 }\r
467 abtree05_f\r
468 {\r
469         cull none\r
470         qer_editorimage textures/ab/abtree05_f.tga\r
471         qer_trans 0.6\r
472                 surfaceparm nolightmap\r
473                 q3map_bounceScale 0.2\r
474                 q3map_vertexScale 4.2\r
475         {\r
476                 map textures/ab/abtree05_f.tga\r
477                 alphaFunc GE128\r
478                 rgbGen vertex\r
479         }\r
480 }\r
481 abtree05_l\r
482 {\r
483         cull none\r
484         qer_editorimage textures/ab/abtree05_l.tga\r
485         qer_trans 0.6\r
486                 surfaceparm nolightmap\r
487                 q3map_bounceScale 0.2\r
488                 q3map_vertexScale 4.2\r
489         {\r
490                 map textures/ab/abtree05_l.tga\r
491                 alphaFunc GE128\r
492                 rgbGen vertex\r
493         }\r
494 }\r
495 abtreeb01_f\r
496 {\r
497         cull none\r
498         qer_editorimage textures/ab/abtreeb01_f.tga\r
499         qer_trans 0.6\r
500                 surfaceparm nolightmap\r
501                 q3map_bounceScale 0.2\r
502                 q3map_vertexScale 4.2\r
503         {\r
504                 map textures/ab/abtreeb01_f.tga\r
505                 alphaFunc GE128\r
506                 rgbGen vertex\r
507         }\r
508 }\r
509 abtreeb01_l\r
510 {\r
511         cull none\r
512         qer_editorimage textures/ab/abtreeb01_l.tga\r
513         qer_trans 0.6\r
514                 surfaceparm nolightmap\r
515                 q3map_bounceScale 0.2\r
516                 q3map_vertexScale 4.2\r
517         {\r
518                 map textures/ab/abtreeb01_l.tga\r
519                 alphaFunc GE128\r
520                 rgbGen vertex\r
521         }\r
522 }\r
523 abtreeb02_f\r
524 {\r
525         cull none\r
526         qer_editorimage textures/ab/abtreeb02_f.tga\r
527         qer_trans 0.6\r
528                 surfaceparm nolightmap\r
529                 q3map_bounceScale 0.2\r
530                 q3map_vertexScale 4.2\r
531         {\r
532                 map textures/ab/abtreeb02_f.tga\r
533                 alphaFunc GE128\r
534                 rgbGen vertex\r
535         }\r
536 }\r
537 abtreeb02_l\r
538 {\r
539         cull none\r
540         qer_editorimage textures/ab/abtreeb02_l.tga\r
541         qer_trans 0.6\r
542                 surfaceparm nolightmap\r
543                 q3map_bounceScale 0.2\r
544                 q3map_vertexScale 4.2\r
545         {\r
546                 map textures/ab/abtreeb02_l.tga\r
547                 alphaFunc GE128\r
548                 rgbGen vertex\r
549         }\r
550 }\r
551 textures/ab/bush01_f\r
552 {\r
553         cull none\r
554         qer_editorimage textures/ab/bush01_f.tga\r
555         qer_trans 0.6\r
556                 surfaceparm nolightmap\r
557                 q3map_bounceScale 0.2\r
558                 q3map_vertexScale 4.2\r
559         {\r
560                 map textures/ab/bush01_f.tga\r
561                 alphaFunc GE128\r
562                 rgbGen vertex\r
563         }\r
564 }\r
565 textures/ab/bush01_l\r
566 {\r
567         cull none\r
568         qer_editorimage textures/ab/bush01_l.tga\r
569         qer_trans 0.6\r
570                 surfaceparm nolightmap\r
571                 q3map_bounceScale 0.2\r
572                 q3map_vertexScale 4.2\r
573         {\r
574                 map textures/ab/bush01_l.tga\r
575                 alphaFunc GE128\r
576                 rgbGen vertex\r
577         }\r
578 }\r
579 textures/ab/bush02_f\r
580 {\r
581         cull none\r
582         qer_editorimage textures/ab/bush02_f.tga\r
583         qer_trans 0.6\r
584                 surfaceparm nolightmap\r
585                 q3map_bounceScale 0.2\r
586                 q3map_vertexScale 4.2\r
587         {\r
588                 map textures/ab/bush02_f.tga\r
589                 alphaFunc GE128\r
590                 rgbGen vertex\r
591         }\r
592 }\r
593 textures/ab/bush02_l\r
594 {\r
595         cull none\r
596         qer_editorimage textures/ab/bush02_l.tga\r
597         qer_trans 0.6\r
598                 surfaceparm nolightmap\r
599                 q3map_bounceScale 0.2\r
600                 q3map_vertexScale 4.2\r
601         {\r
602                 map textures/ab/bush02_l.tga\r
603                 alphaFunc GE128\r
604                 rgbGen vertex\r
605         }\r
606 }\r
607 textures/ab/bush03_f\r
608 {\r
609         cull none\r
610         qer_editorimage textures/ab/bush03_f.tga\r
611         qer_trans 0.6\r
612                 surfaceparm nolightmap\r
613                 q3map_bounceScale 0.2\r
614                 q3map_vertexScale 4.2\r
615         {\r
616                 map textures/ab/bush03_f.tga\r
617                 alphaFunc GE128\r
618                 rgbGen vertex\r
619         }\r
620 }\r
621 textures/ab/bush03_l\r
622 {\r
623         cull none\r
624         qer_editorimage textures/ab/bush03_l.tga\r
625         qer_trans 0.6\r
626                 surfaceparm nolightmap\r
627                 q3map_bounceScale 0.2\r
628                 q3map_vertexScale 4.2\r
629         {\r
630                 map textures/ab/bush03_l.tga\r
631                 alphaFunc GE128\r
632                 rgbGen vertex\r
633         }\r
634 }