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