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