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