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