]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - data/scripts/desertfactory.shader
Include gmqcc binaries for Windows and Linux
[voretournament/voretournament.git] / data / scripts / desertfactory.shader
1 // Shaders for the Desert Factory map (v1r1)\r
2 //==============================================================================\r
3 // Sky\r
4 //==============================================================================\r
5 textures/desertfactory_shaders/sky\r
6 {\r
7         qer_editorimage textures/desertfactory_shaders/sky.jpg\r
8         surfaceparm sky\r
9         surfaceparm noimpact\r
10         surfaceparm nolightmap\r
11         surfaceparm nodlight\r
12         surfaceparm nomarks\r
13         nopicmip\r
14         nomipmaps\r
15         skyparms env/desert/desert - - //farbox cloudheight nearbox\r
16         q3map_sunExt 1 0.95 0.9 340 315 63 0 16 //rgb intensity degrees elevation deviance samples\r
17 }\r
18 \r
19 //==============================================================================\r
20 // General\r
21 //==============================================================================\r
22 \r
23 textures/desertfactory_shaders/lightemitter_200\r
24 {\r
25         qer_editorimage textures/desertfactory_shaders/lightemitter_200.tga\r
26         q3map_lightRGB 0.5 0.4 0.3\r
27         q3map_surfacelight 200\r
28 }\r
29 \r
30 textures/desertfactory_shaders/lightemitter_400\r
31 {\r
32         qer_editorimage textures/desertfactory_shaders/lightemitter_400.tga\r
33         q3map_lightRGB 0.5 0.4 0.3\r
34         q3map_surfacelight 400\r
35 }\r
36 \r
37 textures/desertfactory_shaders/light02\r
38 {\r
39         qer_editorimage textures/desertfactory_shaders/light02.jpg\r
40         surfaceparm trans\r
41         cull none\r
42         {\r
43                 map textures/desertfactory_misc/light02.tga\r
44                 blendFunc blend\r
45         }\r
46 }\r
47 \r
48 textures/desertfactory_shaders/glass01\r
49 {\r
50         dpreflectcube cubemaps/exomorph/exomorph\r
51         qer_editorimage textures/desertfactory_shaders/glass01.jpg\r
52         surfaceparm trans\r
53         surfaceparm lightfilter\r
54         surfaceparm metalsteps\r
55         {\r
56                 map textures/desertfactory_misc/glass01.tga\r
57                 blendFunc blend\r
58         }\r
59 }\r
60 \r
61 textures/desertfactory_shaders/metal01-metal02\r
62 {\r
63         dpreflectcube cubemaps/exomorph/exomorph\r
64         qer_editorimage textures/desertfactory_shaders/metal01-metal02.jpg\r
65         q3map_alphaMod dotproduct2 ( 0 0 1.25 )\r
66         surfaceparm metalsteps\r
67         {\r
68                 map textures/desertfactory_metal/metal01.tga\r
69         }\r
70         {\r
71                 map textures/desertfactory_metal/metal02.tga\r
72                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           \r
73                 alphaGen vertex\r
74         }\r
75         {\r
76                 map $lightmap\r
77                 blendFunc GL_DST_COLOR GL_ZERO\r
78         }\r
79 }\r
80 \r
81 textures/desertfactory_shaders/grates01\r
82 {\r
83         dpreflectcube cubemaps/exomorph/exomorph\r
84         qer_editorimage textures/desertfactory_shaders/grates01.jpg\r
85         qer_trans 0.5\r
86         surfaceparm trans\r
87         surfaceparm alphashadow\r
88         surfaceparm nomarks\r
89         surfaceparm metalsteps\r
90         {\r
91                 map textures/desertfactory_metal/grates01.tga\r
92                 alphaFunc GT0\r
93                 rgbGen vertex\r
94         }\r
95 }\r
96 \r
97 textures/desertfactory_shaders/grass01\r
98 {\r
99         qer_editorimage textures/desertfactory_shaders/grass01.jpg\r
100         surfaceparm nomarks\r
101         surfaceparm trans\r
102         surfaceparm alphashadow\r
103         cull none\r
104         {\r
105                 map textures/desertfactory_misc/grass01.tga\r
106                 alphaFunc GT0\r
107                 rgbGen vertex\r
108         }\r
109 }\r
110 \r
111 textures/desertfactory_shaders/grass02\r
112 {\r
113         qer_editorimage textures/desertfactory_shaders/grass02.jpg\r
114         surfaceparm nomarks\r
115         surfaceparm trans\r
116         surfaceparm alphashadow\r
117         cull none\r
118         {\r
119                 map textures/desertfactory_misc/grass02.tga\r
120                 alphaFunc GT0\r
121                 rgbGen vertex\r
122         }\r
123 }\r
124 \r
125 textures/desertfactory_shaders/vines01\r
126 {\r
127         qer_editorimage textures/desertfactory_shaders/vines01.jpg\r
128         surfaceparm nomarks\r
129         surfaceparm trans\r
130         surfaceparm alphashadow\r
131         cull none\r
132         {\r
133                 map textures/desertfactory_misc/vines01.tga\r
134                 alphaFunc GT0\r
135                 rgbGen vertex\r
136         }\r
137 }\r
138 \r
139 //==============================================================================\r
140 // Signs\r
141 //==============================================================================\r
142 textures/desertfactory_shaders/sign_above_clean\r
143 {\r
144         dpreflectcube cubemaps/exomorph/exomorph\r
145         qer_editorimage textures/desertfactory_shaders/sign_above_clean.jpg\r
146         surfaceparm metalsteps\r
147         {\r
148                 map textures/desertfactory_signs/above_clean.tga\r
149                 alphaFunc GT0\r
150                 rgbGen vertex\r
151         }\r
152 }\r
153 \r
154 textures/desertfactory_shaders/sign_explosion_clean\r
155 {\r
156         dpreflectcube cubemaps/exomorph/exomorph\r
157         qer_editorimage textures/desertfactory_shaders/sign_explosion_clean.jpg\r
158         {\r
159                 map textures/desertfactory_signs/explosion_clean.tga\r
160                 alphaFunc GT0\r
161                 rgbGen vertex\r
162         }\r
163 }\r
164 \r
165 textures/desertfactory_shaders/sign_ladder_clean\r
166 {\r
167         dpreflectcube cubemaps/exomorph/exomorph\r
168         qer_editorimage textures/desertfactory_shaders/sign_ladder_clean.tga\r
169         {\r
170                 map textures/desertfactory_signs/ladder_clean.tga\r
171                 alphaFunc GT0\r
172                 rgbGen vertex\r
173         }\r
174 }\r
175 \r
176 textures/desertfactory_shaders/sign_radioactive_clean\r
177 {\r
178         dpreflectcube cubemaps/exomorph/exomorph\r
179         qer_editorimage textures/desertfactory_shaders/sign_radioactive_clean.tga\r
180         {\r
181                 map textures/desertfactory_signs/radioactive_clean.tga\r
182                 alphaFunc GT0\r
183                 rgbGen vertex\r
184         }\r
185 }\r
186 \r
187 textures/desertfactory_shaders/sign_shock_clean\r
188 {\r
189         dpreflectcube cubemaps/exomorph/exomorph\r
190         qer_editorimage textures/desertfactory_shaders/sign_shock_clean.tga\r
191         {\r
192                 map textures/desertfactory_signs/shock_clean.tga\r
193                 alphaFunc GT0\r
194                 rgbGen vertex\r
195         }\r
196 }\r
197 \r
198 textures/desertfactory_shaders/sign_toxic_clean\r
199 {\r
200         dpreflectcube cubemaps/exomorph/exomorph\r
201         qer_editorimage textures/desertfactory_shaders/sign_toxic_clean.tga\r
202         {\r
203                 map textures/desertfactory_signs/toxic_clean.tga\r
204                 alphaFunc GT0\r
205                 rgbGen vertex\r
206         }\r
207 }\r
208 \r
209 textures/desertfactory_shaders/sign_warning_clean\r
210 {\r
211         dpreflectcube cubemaps/exomorph/exomorph\r
212         qer_editorimage textures/desertfactory_shaders/sign_warning_clean.tga\r
213         {\r
214                 map textures/desertfactory_signs/warning_clean.tga\r
215                 alphaFunc GT0\r
216                 rgbGen vertex\r
217         }\r
218 }\r
219 \r
220 textures/desertfactory_shaders/sign_wires_clean\r
221 {\r
222         dpreflectcube cubemaps/exomorph/exomorph\r
223         qer_editorimage textures/desertfactory_shaders/sign_wires_clean.tga\r
224         {\r
225                 map textures/desertfactory_signs/wires_clean.tga\r
226                 alphaFunc GT0\r
227                 rgbGen vertex\r
228         }\r
229 }\r
230 \r
231 textures/desertfactory_shaders/sign_above_dirty\r
232 {\r
233         dpreflectcube cubemaps/exomorph/exomorph\r
234         qer_editorimage textures/desertfactory_shaders/sign_above_dirty.tga\r
235         {\r
236                 map textures/desertfactory_signs/above_dirty.tga\r
237                 alphaFunc GT0\r
238                 rgbGen vertex\r
239         }\r
240 }\r
241 \r
242 textures/desertfactory_shaders/sign_explosion_dirty\r
243 {\r
244         dpreflectcube cubemaps/exomorph/exomorph\r
245         qer_editorimage textures/desertfactory_shaders/sign_explosion_dirty.tga\r
246         {\r
247                 map textures/desertfactory_signs/explosion_dirty.tga\r
248                 alphaFunc GT0\r
249                 rgbGen vertex\r
250         }\r
251 }\r
252 \r
253 textures/desertfactory_shaders/sign_ladder_dirty\r
254 {\r
255         dpreflectcube cubemaps/exomorph/exomorph\r
256         qer_editorimage textures/desertfactory_shaders/sign_ladder_dirty.tga\r
257         {\r
258                 map textures/desertfactory_signs/ladder_dirty.tga\r
259                 alphaFunc GT0\r
260                 rgbGen vertex\r
261         }\r
262 }\r
263 \r
264 textures/desertfactory_shaders/sign_radioactive_dirty\r
265 {\r
266         dpreflectcube cubemaps/exomorph/exomorph\r
267         qer_editorimage textures/desertfactory_shaders/sign_radioactive_dirty.tga\r
268         {\r
269                 map textures/desertfactory_signs/radioactive_dirty.tga\r
270                 alphaFunc GT0\r
271                 rgbGen vertex\r
272         }\r
273 }\r
274 \r
275 textures/desertfactory_shaders/sign_shock_dirty\r
276 {\r
277         dpreflectcube cubemaps/exomorph/exomorph\r
278         qer_editorimage textures/desertfactory_shaders/sign_shock_dirty.tga\r
279         {\r
280                 map textures/desertfactory_signs/shock_dirty.tga\r
281                 alphaFunc GT0\r
282                 rgbGen vertex\r
283         }\r
284 }\r
285 \r
286 textures/desertfactory_shaders/sign_toxic_dirty\r
287 {\r
288         dpreflectcube cubemaps/exomorph/exomorph\r
289         qer_editorimage textures/desertfactory_shaders/sign_toxic_dirty.tga\r
290         {\r
291                 map textures/desertfactory_signs/toxic_dirty.tga\r
292                 alphaFunc GT0\r
293                 rgbGen vertex\r
294         }\r
295 }\r
296 \r
297 textures/desertfactory_shaders/sign_warning_dirty\r
298 {\r
299         dpreflectcube cubemaps/exomorph/exomorph\r
300         qer_editorimage textures/desertfactory_shaders/sign_warning_dirty.tga\r
301         {\r
302                 map textures/desertfactory_signs/warning_dirty.tga\r
303                 alphaFunc GT0\r
304                 rgbGen vertex\r
305         }\r
306 }\r
307 \r
308 textures/desertfactory_shaders/sign_wires_dirty\r
309 {\r
310         dpreflectcube cubemaps/exomorph/exomorph\r
311         qer_editorimage textures/desertfactory_shaders/sign_wires_dirty.tga\r
312         {\r
313                 map textures/desertfactory_signs/wires_dirty.tga\r
314                 alphaFunc GT0\r
315                 rgbGen vertex\r
316         }\r
317 }\r
318 \r
319 //==============================================================================\r
320 // Writings\r
321 //==============================================================================\r
322 textures/desertfactory_shaders/writing01\r
323 {\r
324         qer_editorimage textures/desertfactory_shaders/writing01.jpg\r
325         surfaceparm trans\r
326         nopicmip\r
327         nomipmaps\r
328         {\r
329                 map textures/desertfactory_documents/writing01.tga\r
330                 blendFunc blend\r
331         }\r
332 }\r
333 \r
334 textures/desertfactory_shaders/writing02\r
335 {\r
336         qer_editorimage textures/desertfactory_shaders/writing02.jpg\r
337         surfaceparm trans\r
338         nopicmip\r
339         nomipmaps\r
340         {\r
341                 map textures/desertfactory_documents/writing02.tga\r
342                 blendFunc blend\r
343         }\r
344 }\r
345 \r
346 textures/desertfactory_shaders/writing03\r
347 {\r
348         qer_editorimage textures/desertfactory_shaders/writing03.jpg\r
349         surfaceparm trans\r
350         nopicmip\r
351         nomipmaps\r
352         {\r
353                 map textures/desertfactory_documents/writing03.tga\r
354                 blendFunc blend\r
355         }\r
356 }\r
357 \r
358 textures/desertfactory_shaders/writing04\r
359 {\r
360         qer_editorimage textures/desertfactory_shaders/writing04.jpg\r
361         surfaceparm trans\r
362         nopicmip\r
363         nomipmaps\r
364         {\r
365                 map textures/desertfactory_documents/writing04.tga\r
366                 blendFunc blend\r
367         }\r
368 }\r
369 \r
370 textures/desertfactory_shaders/writing05\r
371 {\r
372         qer_editorimage textures/desertfactory_shaders/writing05.jpg\r
373         surfaceparm trans\r
374         nopicmip\r
375         nomipmaps\r
376         {\r
377                 map textures/desertfactory_documents/writing05.tga\r
378                 blendFunc blend\r
379         }\r
380 }\r
381 \r
382 //==============================================================================\r
383 // Metal\r
384 //==============================================================================\r
385 \r
386 textures/desertfactory_metal/barrel01\r
387 {\r
388         dpreflectcube cubemaps/exomorph/exomorph\r
389         surfaceparm metalsteps\r
390         {\r
391                 map textures/desertfactory_metal/barrel01\r
392         }\r
393         {\r
394                 map $lightmap\r
395                 blendfunc GL_DST_COLOR GL_ZERO\r
396                 rgbGen identity\r
397     }\r
398 }\r
399 \r
400 textures/desertfactory_metal/barrel01_bulletholes\r
401 {\r
402         dpreflectcube cubemaps/exomorph/exomorph\r
403         surfaceparm metalsteps\r
404         {\r
405                 map textures/desertfactory_metal/barrel01_bulletholes\r
406         }\r
407         {\r
408                 map $lightmap\r
409                 blendfunc GL_DST_COLOR GL_ZERO\r
410                 rgbGen identity\r
411     }\r
412 }\r
413 \r
414 textures/desertfactory_metal/barrel01_top\r
415 {\r
416         dpreflectcube cubemaps/exomorph/exomorph\r
417         surfaceparm metalsteps\r
418         {\r
419                 map textures/desertfactory_metal/barrel01_top\r
420         }\r
421         {\r
422                 map $lightmap\r
423                 blendfunc GL_DST_COLOR GL_ZERO\r
424                 rgbGen identity\r
425     }\r
426 }\r
427 \r
428 textures/desertfactory_metal/grates01\r
429 {\r
430         dpreflectcube cubemaps/exomorph/exomorph\r
431         surfaceparm metalsteps\r
432         {\r
433                 map textures/desertfactory_metal/grates01\r
434         }\r
435         {\r
436                 map $lightmap\r
437                 blendfunc GL_DST_COLOR GL_ZERO\r
438                 rgbGen identity\r
439     }\r
440 }\r
441 \r
442 textures/desertfactory_metal/metal01\r
443 {\r
444         dpreflectcube cubemaps/exomorph/exomorph\r
445         surfaceparm metalsteps\r
446         {\r
447                 map textures/desertfactory_metal/metal01\r
448         }\r
449         {\r
450                 map $lightmap\r
451                 blendfunc GL_DST_COLOR GL_ZERO\r
452                 rgbGen identity\r
453     }\r
454 }\r
455 \r
456 textures/desertfactory_metal/metal02\r
457 {\r
458         dpreflectcube cubemaps/exomorph/exomorph\r
459         surfaceparm metalsteps\r
460         {\r
461                 map textures/desertfactory_metal/metal02\r
462         }\r
463         {\r
464                 map $lightmap\r
465                 blendfunc GL_DST_COLOR GL_ZERO\r
466                 rgbGen identity\r
467     }\r
468 }\r
469 \r
470 textures/desertfactory_metal/metal03\r
471 {\r
472         dpreflectcube cubemaps/exomorph/exomorph\r
473         surfaceparm metalsteps\r
474         {\r
475                 map textures/desertfactory_metal/metal03\r
476         }\r
477         {\r
478                 map $lightmap\r
479                 blendfunc GL_DST_COLOR GL_ZERO\r
480                 rgbGen identity\r
481     }\r
482 }\r
483 \r
484 textures/desertfactory_metal/metal04\r
485 {\r
486         dpreflectcube cubemaps/exomorph/exomorph\r
487         surfaceparm metalsteps\r
488         {\r
489                 map textures/desertfactory_metal/metal04\r
490         }\r
491         {\r
492                 map $lightmap\r
493                 blendfunc GL_DST_COLOR GL_ZERO\r
494                 rgbGen identity\r
495     }\r
496 }\r
497 \r
498 textures/desertfactory_metal/metal05\r
499 {\r
500         dpreflectcube cubemaps/exomorph/exomorph\r
501         surfaceparm metalsteps\r
502         {\r
503                 map textures/desertfactory_metal/metal05\r
504         }\r
505         {\r
506                 map $lightmap\r
507                 blendfunc GL_DST_COLOR GL_ZERO\r
508                 rgbGen identity\r
509     }\r
510 }\r
511 \r
512 textures/desertfactory_metal/roof01\r
513 {\r
514         dpreflectcube cubemaps/exomorph/exomorph\r
515         surfaceparm metalsteps\r
516         {\r
517                 map textures/desertfactory_metal/roof01\r
518         }\r
519         {\r
520                 map $lightmap\r
521                 blendfunc GL_DST_COLOR GL_ZERO\r
522                 rgbGen identity\r
523     }\r
524 }