]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - data/scripts/test3.shader
Move player textures to a subfolder
[voretournament/voretournament.git] / data / scripts / test3.shader
1 \r
2 textures/test3/terrain_0\r
3 {\r
4         q3map_nonplanar\r
5         q3map_globalTexture\r
6         q3map_shadeangle 179\r
7         q3map_lightmapsamplesize 32\r
8         q3map_lightmapaxis z\r
9         q3map_lightmapBrightness 0.5\r
10         q3map_lightmapsampleoffset 8.0\r
11 //      q3map_texturesize 512 512\r
12         q3map_surfaceModel models/grass02.md3 24 0.025 1.5 3 1 122 1\r
13         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
14         {\r
15                 map textures/terraintex/grass2.tga\r
16         }\r
17         {\r
18                 map $lightmap\r
19                 blendFunc GL_DST_COLOR GL_ZERO\r
20                 tcGen lightmap\r
21                 //rgbGen identity\r
22         }\r
23 }\r
24 \r
25 textures/test3/terrain_1\r
26 {\r
27         q3map_nonplanar\r
28         q3map_globalTexture\r
29         q3map_shadeangle 179\r
30         q3map_lightmapsamplesize 32\r
31         q3map_lightmapaxis z\r
32         q3map_lightmapBrightness 0.5\r
33         q3map_lightmapsampleoffset 8.0\r
34 //      q3map_texturesize 512 512\r
35         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
36         {\r
37                 map textures/terraintex/ground2.tga\r
38 \r
39         }\r
40         {\r
41                 map $lightmap\r
42                 blendFunc GL_DST_COLOR GL_ZERO\r
43                 tcGen lightmap\r
44                 //rgbGen identity\r
45         }\r
46 }\r
47 \r
48 textures/test3/terrain_2\r
49 {\r
50         q3map_nonplanar\r
51         q3map_globalTexture\r
52         q3map_shadeangle 179\r
53         q3map_lightmapsamplesize 32\r
54         q3map_lightmapaxis z\r
55         q3map_lightmapBrightness 0.5\r
56         q3map_lightmapsampleoffset 8.0\r
57 //      q3map_texturesize 512 512\r
58         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
59         {\r
60                 map textures/terraintex/rock02b.tga\r
61 \r
62         }\r
63         {\r
64                 map $lightmap\r
65                 blendFunc GL_DST_COLOR GL_ZERO\r
66                 tcGen lightmap\r
67                 //rgbGen identity\r
68         }\r
69 }\r
70 \r
71 textures/test3/terrain_3\r
72 {\r
73         q3map_nonplanar\r
74         q3map_globalTexture\r
75         q3map_shadeangle 179\r
76         q3map_lightmapsamplesize 32\r
77         q3map_lightmapaxis z\r
78         q3map_lightmapBrightness 0.5\r
79 \r
80         q3map_lightmapsampleoffset 8.0\r
81 //      q3map_texturesize 512 512\r
82         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
83         {\r
84                 map textures/terraintex/ground4.tga\r
85 \r
86         }\r
87         {\r
88                 map $lightmap\r
89                 blendFunc GL_DST_COLOR GL_ZERO\r
90                 tcGen lightmap\r
91                 //rgbGen identity\r
92         }\r
93 }\r
94 \r
95 textures/test3/terrain_4\r
96 {\r
97         q3map_nonplanar\r
98         q3map_globalTexture\r
99         q3map_shadeangle 179\r
100         q3map_lightmapsamplesize 32\r
101         q3map_lightmapaxis z\r
102         q3map_lightmapBrightness 0.5\r
103 \r
104         q3map_lightmapsampleoffset 8.0\r
105 //      q3map_texturesize 512 512\r
106         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
107         {\r
108                 map textures/terraintex/sand01.tga\r
109 \r
110         }\r
111         {\r
112                 map $lightmap\r
113                 blendFunc GL_DST_COLOR GL_ZERO\r
114                 tcGen lightmap\r
115                 //rgbGen identity\r
116         }\r
117 }\r
118 \r
119 textures/test3/terrain_5\r
120 {\r
121         q3map_nonplanar\r
122         q3map_globalTexture\r
123         q3map_shadeangle 179\r
124         q3map_lightmapsamplesize 32\r
125         q3map_lightmapaxis z\r
126         q3map_lightmapBrightness 0.5\r
127 \r
128         q3map_lightmapsampleoffset 8.0\r
129 //      q3map_texturesize 512 512\r
130         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
131         {\r
132                 map textures/terraintex/rock_b.tga\r
133 \r
134         }\r
135         {\r
136                 map $lightmap\r
137                 blendFunc GL_DST_COLOR GL_ZERO\r
138                 tcGen lightmap\r
139                 //rgbGen identity\r
140         }\r
141 }\r
142 \r
143 textures/test3/terrain_0to1\r
144 {\r
145         q3map_lightmapBrightness 0.5\r
146 \r
147         q3map_lightmapsampleoffset 8.0\r
148         q3map_nonplanar\r
149         q3map_globalTexture\r
150         q3map_surfaceModel models/grass02.md3 38 0.025 1 2 1 122 1\r
151         q3map_shadeangle 179\r
152         q3map_lightmapsamplesize 32\r
153         q3map_lightmapaxis z\r
154 //      q3map_texturesize 512 512\r
155         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
156         \r
157         {\r
158                 map textures/terraintex/grass2.tga\r
159 \r
160         }\r
161         {\r
162                 map textures/terraintex/ground2.tga\r
163                 alphaGen vertex\r
164                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
165         }\r
166         {\r
167                 map $lightmap\r
168                 blendFunc GL_DST_COLOR GL_ZERO\r
169                 tcGen lightmap\r
170                 //rgbGen identity\r
171         }\r
172 }\r
173 \r
174 textures/test3/terrain_0to2\r
175 {\r
176         q3map_nonplanar\r
177         q3map_globalTexture\r
178         q3map_shadeangle 179\r
179         q3map_lightmapsamplesize 32\r
180         q3map_lightmapaxis z\r
181         q3map_lightmapBrightness 0.5\r
182 \r
183         q3map_lightmapsampleoffset 8.0\r
184 //      q3map_texturesize 512 512\r
185         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
186         \r
187         {\r
188                 map textures/terraintex/grass2.tga\r
189 \r
190         }\r
191         {\r
192                 map textures/terraintex/rock02b.tga\r
193                 alphaGen vertex\r
194                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
195         }\r
196         {\r
197                 map $lightmap\r
198                 blendFunc GL_DST_COLOR GL_ZERO\r
199                 tcGen lightmap\r
200                 //rgbGen identity\r
201         }\r
202 }\r
203 \r
204 textures/test3/terrain_0to3\r
205 {\r
206         q3map_nonplanar\r
207         q3map_globalTexture\r
208         q3map_shadeangle 179\r
209         q3map_lightmapsamplesize 32\r
210         q3map_lightmapaxis z\r
211         q3map_lightmapBrightness 0.5\r
212 \r
213         q3map_lightmapsampleoffset 8.0\r
214 //      q3map_texturesize 512 512\r
215         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
216         \r
217         {\r
218                 map textures/terraintex/grass2.tga\r
219 \r
220         }\r
221         {\r
222                 map textures/terraintex/ground4.tga\r
223                 alphaGen vertex\r
224                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
225         }\r
226         {\r
227                 map $lightmap\r
228                 blendFunc GL_DST_COLOR GL_ZERO\r
229                 tcGen lightmap\r
230                 //rgbGen identity\r
231         }\r
232 }\r
233 \r
234 textures/test3/terrain_0to4\r
235 {\r
236         q3map_nonplanar\r
237         q3map_globalTexture\r
238         q3map_shadeangle 179\r
239         q3map_lightmapsamplesize 32\r
240         q3map_lightmapaxis z\r
241         q3map_lightmapBrightness 0.5\r
242 \r
243         q3map_lightmapsampleoffset 8.0\r
244 //      q3map_texturesize 512 512\r
245         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
246         \r
247         {\r
248                 map textures/terraintex/grass2.tga\r
249         }\r
250         {\r
251                 map textures/terraintex/sand01.tga\r
252                 alphaGen vertex\r
253                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
254         }\r
255         {\r
256                 map $lightmap\r
257                 blendFunc GL_DST_COLOR GL_ZERO\r
258                 tcGen lightmap\r
259                 //rgbGen identity\r
260         }\r
261 }\r
262 \r
263 textures/test3/terrain_0to5\r
264 {\r
265         q3map_nonplanar\r
266         q3map_globalTexture\r
267         q3map_shadeangle 179\r
268         q3map_lightmapsamplesize 32\r
269         q3map_lightmapaxis z\r
270         q3map_lightmapBrightness 0.5\r
271 \r
272         q3map_lightmapsampleoffset 8.0\r
273 //      q3map_texturesize 512 512\r
274         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
275         \r
276         {\r
277                 map textures/terraintex/grass2.tga\r
278         }\r
279         {\r
280                 map textures/terraintex/rock_b.tga\r
281                 alphaGen vertex\r
282                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
283         }\r
284         {\r
285                 map $lightmap\r
286                 blendFunc GL_DST_COLOR GL_ZERO\r
287                 tcGen lightmap\r
288                 //rgbGen identity\r
289         }\r
290 }\r
291 \r
292 textures/test3/terrain_1to2\r
293 {\r
294         q3map_nonplanar\r
295         q3map_globalTexture\r
296         q3map_shadeangle 179\r
297         q3map_lightmapsamplesize 32\r
298         q3map_lightmapaxis z\r
299         q3map_lightmapBrightness 0.5\r
300 \r
301         q3map_lightmapsampleoffset 8.0\r
302 //      q3map_texturesize 512 512\r
303         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
304         \r
305         {\r
306                 map textures/terraintex/ground2.tga\r
307         }\r
308         {\r
309                 map textures/terraintex/rock02b.tga\r
310                 alphaGen vertex\r
311                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
312         }\r
313         {\r
314                 map $lightmap\r
315                 blendFunc GL_DST_COLOR GL_ZERO\r
316                 tcGen lightmap\r
317                 //rgbGen identity\r
318         }\r
319 }\r
320 \r
321 textures/test3/terrain_1to3\r
322 {\r
323         q3map_nonplanar\r
324         q3map_globalTexture\r
325         q3map_shadeangle 179\r
326         q3map_lightmapsamplesize 32\r
327         q3map_lightmapaxis z\r
328         q3map_lightmapBrightness 0.5\r
329 \r
330         q3map_lightmapsampleoffset 8.0\r
331 //      q3map_texturesize 512 512\r
332         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
333         \r
334         {\r
335                 map textures/terraintex/ground2.tga\r
336         }\r
337         {\r
338                 map textures/terraintex/ground4.tga\r
339                 alphaGen vertex\r
340                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
341         }\r
342         {\r
343                 map $lightmap\r
344                 blendFunc GL_DST_COLOR GL_ZERO\r
345                 tcGen lightmap\r
346                 //rgbGen identity\r
347         }\r
348 }\r
349 \r
350 textures/test3/terrain_1to4\r
351 {\r
352         q3map_nonplanar\r
353         q3map_globalTexture\r
354         q3map_shadeangle 179\r
355         q3map_lightmapsamplesize 32\r
356         q3map_lightmapaxis z\r
357         q3map_lightmapBrightness 0.5\r
358 \r
359         q3map_lightmapsampleoffset 8.0\r
360 //      q3map_texturesize 512 512\r
361         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
362         \r
363         {\r
364                 map textures/terraintex/ground2.tga\r
365         }\r
366         {\r
367                 map textures/terraintex/sand01.tga\r
368                 alphaGen vertex\r
369                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
370         }\r
371         {\r
372                 map $lightmap\r
373                 blendFunc GL_DST_COLOR GL_ZERO\r
374                 tcGen lightmap\r
375                 //rgbGen identity\r
376         }\r
377 }\r
378 \r
379 textures/test3/terrain_1to5\r
380 {\r
381         q3map_nonplanar\r
382         q3map_globalTexture\r
383         q3map_shadeangle 179\r
384         q3map_lightmapsamplesize 32\r
385         q3map_lightmapaxis z\r
386         q3map_lightmapBrightness 0.5\r
387 \r
388         q3map_lightmapsampleoffset 8.0\r
389 //      q3map_texturesize 512 512\r
390         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
391         \r
392         {\r
393                 map textures/terraintex/ground2.tga\r
394         }\r
395         {\r
396                 map textures/terraintex/rock_b.tga\r
397                 alphaGen vertex\r
398                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
399         }\r
400         {\r
401                 map $lightmap\r
402                 blendFunc GL_DST_COLOR GL_ZERO\r
403                 tcGen lightmap\r
404                 //rgbGen identity\r
405         }\r
406 }\r
407 \r
408 textures/test3/terrain_2to3\r
409 {\r
410         q3map_nonplanar\r
411         q3map_globalTexture\r
412         q3map_shadeangle 179\r
413         q3map_lightmapsamplesize 32\r
414         q3map_lightmapaxis z\r
415         q3map_lightmapBrightness 0.5\r
416 \r
417         q3map_lightmapsampleoffset 8.0\r
418 //      q3map_texturesize 512 512\r
419         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
420         \r
421         {\r
422                 map textures/terraintex/rock02b.tga\r
423         }\r
424         {\r
425                 map textures/terraintex/ground4.tga\r
426                 alphaGen vertex\r
427                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
428         }\r
429         {\r
430                 map $lightmap\r
431                 blendFunc GL_DST_COLOR GL_ZERO\r
432                 tcGen lightmap\r
433                 //rgbGen identity\r
434         }\r
435 }\r
436 \r
437 textures/test3/terrain_2to4\r
438 {\r
439         q3map_nonplanar\r
440         q3map_globalTexture\r
441         q3map_shadeangle 179\r
442         q3map_lightmapsamplesize 32\r
443         q3map_lightmapaxis z\r
444         q3map_lightmapBrightness 0.5\r
445 \r
446         q3map_lightmapsampleoffset 8.0\r
447 //      q3map_texturesize 512 512\r
448         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
449         \r
450         {\r
451                 map textures/terraintex/rock02b.tga\r
452         }\r
453         {\r
454                 map textures/terraintex/sand01.tga\r
455                 alphaGen vertex\r
456                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
457         }\r
458         {\r
459                 map $lightmap\r
460                 blendFunc GL_DST_COLOR GL_ZERO\r
461                 tcGen lightmap\r
462                 //rgbGen identity\r
463         }\r
464 }\r
465 \r
466 textures/test3/terrain_2to5\r
467 {\r
468         q3map_nonplanar\r
469         q3map_globalTexture\r
470         q3map_shadeangle 179\r
471         q3map_lightmapsamplesize 32\r
472         q3map_lightmapaxis z\r
473         q3map_lightmapBrightness 0.5\r
474 \r
475         q3map_lightmapsampleoffset 8.0\r
476 //      q3map_texturesize 512 512\r
477         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
478         \r
479         {\r
480                 map textures/terraintex/rock02b.tga\r
481         }\r
482         {\r
483                 map textures/terraintex/rock_b.tga\r
484                 alphaGen vertex\r
485                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
486         }\r
487         {\r
488                 map $lightmap\r
489                 blendFunc GL_DST_COLOR GL_ZERO\r
490                 tcGen lightmap\r
491                 //rgbGen identity\r
492         }\r
493 }\r
494 \r
495 textures/test3/terrain_3to4\r
496 {\r
497         q3map_nonplanar\r
498         q3map_globalTexture\r
499         q3map_shadeangle 179\r
500         q3map_lightmapsamplesize 32\r
501         q3map_lightmapaxis z\r
502         q3map_lightmapBrightness 0.5\r
503 \r
504         q3map_lightmapsampleoffset 8.0\r
505 //      q3map_texturesize 512 512\r
506         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
507         \r
508         {\r
509                 map textures/terraintex/ground4.tga\r
510         }\r
511         {\r
512                 map textures/terraintex/sand01.tga\r
513                 alphaGen vertex\r
514                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
515         }\r
516         {\r
517                 map $lightmap\r
518                 blendFunc GL_DST_COLOR GL_ZERO\r
519                 tcGen lightmap\r
520                 //rgbGen identity\r
521         }\r
522 }\r
523 \r
524 textures/test3/terrain_3to5\r
525 {\r
526         q3map_nonplanar\r
527         q3map_globalTexture\r
528         q3map_shadeangle 179\r
529         q3map_lightmapsamplesize 32\r
530         q3map_lightmapaxis z\r
531         q3map_lightmapBrightness 0.5\r
532 \r
533         q3map_lightmapsampleoffset 8.0\r
534 //      q3map_texturesize 512 512\r
535         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
536         \r
537         {\r
538                 map textures/terraintex/ground4.tga\r
539         }\r
540         {\r
541                 map textures/terraintex/rock_b.tga\r
542                 alphaGen vertex\r
543                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
544         }\r
545         {\r
546                 map $lightmap\r
547                 blendFunc GL_DST_COLOR GL_ZERO\r
548                 tcGen lightmap\r
549                 //rgbGen identity\r
550         }\r
551 }\r
552 \r
553 textures/test3/terrain_4to5\r
554 {\r
555         q3map_nonplanar\r
556         q3map_globalTexture\r
557         q3map_shadeangle 179\r
558         q3map_lightmapsamplesize 32\r
559         q3map_lightmapaxis z\r
560         q3map_lightmapBrightness 0.5\r
561 \r
562         q3map_lightmapsampleoffset 8.0\r
563 //      q3map_texturesize 512 512\r
564         q3map_tcGen ivector ( 384 0 0 ) ( 0 384 0 )\r
565         \r
566         {\r
567                 map textures/terraintex/sand01.tga\r
568         }\r
569         {\r
570                 map textures/terraintex/rock_b.tga\r
571                 alphaGen vertex\r
572                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
573         }\r
574         {\r
575                 map $lightmap\r
576                 blendFunc GL_DST_COLOR GL_ZERO\r
577                 tcGen lightmap\r
578                 //rgbGen identity\r
579         }\r
580 }\r
581 \r
582 //textures/test3/terrain.vertex\r
583 //{\r
584 //      {\r
585 //              map textures/terraintex/grass2.tga\r
586 //              rgbGen vertex\r
587 //      }\r
588 //}