]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - data/scripts/desertfactory.shader
Give surfaceparm metalsteps to more desertfactory textures. Since the changes are...
[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         surfaceparm metalsteps\r
159         {\r
160                 map textures/desertfactory_signs/explosion_clean.tga\r
161                 alphaFunc GT0\r
162                 rgbGen vertex\r
163         }\r
164 }\r
165 \r
166 textures/desertfactory_shaders/sign_ladder_clean\r
167 {\r
168         dpreflectcube cubemaps/exomorph/exomorph\r
169         qer_editorimage textures/desertfactory_shaders/sign_ladder_clean.tga\r
170         surfaceparm metalsteps\r
171         {\r
172                 map textures/desertfactory_signs/ladder_clean.tga\r
173                 alphaFunc GT0\r
174                 rgbGen vertex\r
175         }\r
176 }\r
177 \r
178 textures/desertfactory_shaders/sign_radioactive_clean\r
179 {\r
180         dpreflectcube cubemaps/exomorph/exomorph\r
181         qer_editorimage textures/desertfactory_shaders/sign_radioactive_clean.tga\r
182         surfaceparm metalsteps\r
183         {\r
184                 map textures/desertfactory_signs/radioactive_clean.tga\r
185                 alphaFunc GT0\r
186                 rgbGen vertex\r
187         }\r
188 }\r
189 \r
190 textures/desertfactory_shaders/sign_shock_clean\r
191 {\r
192         dpreflectcube cubemaps/exomorph/exomorph\r
193         qer_editorimage textures/desertfactory_shaders/sign_shock_clean.tga\r
194         surfaceparm metalsteps\r
195         {\r
196                 map textures/desertfactory_signs/shock_clean.tga\r
197                 alphaFunc GT0\r
198                 rgbGen vertex\r
199         }\r
200 }\r
201 \r
202 textures/desertfactory_shaders/sign_toxic_clean\r
203 {\r
204         dpreflectcube cubemaps/exomorph/exomorph\r
205         qer_editorimage textures/desertfactory_shaders/sign_toxic_clean.tga\r
206         surfaceparm metalsteps\r
207         {\r
208                 map textures/desertfactory_signs/toxic_clean.tga\r
209                 alphaFunc GT0\r
210                 rgbGen vertex\r
211         }\r
212 }\r
213 \r
214 textures/desertfactory_shaders/sign_warning_clean\r
215 {\r
216         dpreflectcube cubemaps/exomorph/exomorph\r
217         qer_editorimage textures/desertfactory_shaders/sign_warning_clean.tga\r
218         surfaceparm metalsteps\r
219         {\r
220                 map textures/desertfactory_signs/warning_clean.tga\r
221                 alphaFunc GT0\r
222                 rgbGen vertex\r
223         }\r
224 }\r
225 \r
226 textures/desertfactory_shaders/sign_wires_clean\r
227 {\r
228         dpreflectcube cubemaps/exomorph/exomorph\r
229         qer_editorimage textures/desertfactory_shaders/sign_wires_clean.tga\r
230         surfaceparm metalsteps\r
231         {\r
232                 map textures/desertfactory_signs/wires_clean.tga\r
233                 alphaFunc GT0\r
234                 rgbGen vertex\r
235         }\r
236 }\r
237 \r
238 textures/desertfactory_shaders/sign_above_dirty\r
239 {\r
240         dpreflectcube cubemaps/exomorph/exomorph\r
241         qer_editorimage textures/desertfactory_shaders/sign_above_dirty.tga\r
242         surfaceparm metalsteps\r
243         {\r
244                 map textures/desertfactory_signs/above_dirty.tga\r
245                 alphaFunc GT0\r
246                 rgbGen vertex\r
247         }\r
248 }\r
249 \r
250 textures/desertfactory_shaders/sign_explosion_dirty\r
251 {\r
252         dpreflectcube cubemaps/exomorph/exomorph\r
253         qer_editorimage textures/desertfactory_shaders/sign_explosion_dirty.tga\r
254         surfaceparm metalsteps\r
255         {\r
256                 map textures/desertfactory_signs/explosion_dirty.tga\r
257                 alphaFunc GT0\r
258                 rgbGen vertex\r
259         }\r
260 }\r
261 \r
262 textures/desertfactory_shaders/sign_ladder_dirty\r
263 {\r
264         dpreflectcube cubemaps/exomorph/exomorph\r
265         qer_editorimage textures/desertfactory_shaders/sign_ladder_dirty.tga\r
266         surfaceparm metalsteps\r
267         {\r
268                 map textures/desertfactory_signs/ladder_dirty.tga\r
269                 alphaFunc GT0\r
270                 rgbGen vertex\r
271         }\r
272 }\r
273 \r
274 textures/desertfactory_shaders/sign_radioactive_dirty\r
275 {\r
276         dpreflectcube cubemaps/exomorph/exomorph\r
277         qer_editorimage textures/desertfactory_shaders/sign_radioactive_dirty.tga\r
278         surfaceparm metalsteps\r
279         {\r
280                 map textures/desertfactory_signs/radioactive_dirty.tga\r
281                 alphaFunc GT0\r
282                 rgbGen vertex\r
283         }\r
284 }\r
285 \r
286 textures/desertfactory_shaders/sign_shock_dirty\r
287 {\r
288         dpreflectcube cubemaps/exomorph/exomorph\r
289         qer_editorimage textures/desertfactory_shaders/sign_shock_dirty.tga\r
290         surfaceparm metalsteps\r
291         {\r
292                 map textures/desertfactory_signs/shock_dirty.tga\r
293                 alphaFunc GT0\r
294                 rgbGen vertex\r
295         }\r
296 }\r
297 \r
298 textures/desertfactory_shaders/sign_toxic_dirty\r
299 {\r
300         dpreflectcube cubemaps/exomorph/exomorph\r
301         qer_editorimage textures/desertfactory_shaders/sign_toxic_dirty.tga\r
302         surfaceparm metalsteps\r
303         {\r
304                 map textures/desertfactory_signs/toxic_dirty.tga\r
305                 alphaFunc GT0\r
306                 rgbGen vertex\r
307         }\r
308 }\r
309 \r
310 textures/desertfactory_shaders/sign_warning_dirty\r
311 {\r
312         dpreflectcube cubemaps/exomorph/exomorph\r
313         qer_editorimage textures/desertfactory_shaders/sign_warning_dirty.tga\r
314         surfaceparm metalsteps\r
315         {\r
316                 map textures/desertfactory_signs/warning_dirty.tga\r
317                 alphaFunc GT0\r
318                 rgbGen vertex\r
319         }\r
320 }\r
321 \r
322 textures/desertfactory_shaders/sign_wires_dirty\r
323 {\r
324         dpreflectcube cubemaps/exomorph/exomorph\r
325         qer_editorimage textures/desertfactory_shaders/sign_wires_dirty.tga\r
326         surfaceparm metalsteps\r
327         {\r
328                 map textures/desertfactory_signs/wires_dirty.tga\r
329                 alphaFunc GT0\r
330                 rgbGen vertex\r
331         }\r
332 }\r
333 \r
334 //==============================================================================\r
335 // Writings\r
336 //==============================================================================\r
337 textures/desertfactory_shaders/writing01\r
338 {\r
339         qer_editorimage textures/desertfactory_shaders/writing01.jpg\r
340         surfaceparm trans\r
341         nopicmip\r
342         nomipmaps\r
343         {\r
344                 map textures/desertfactory_documents/writing01.tga\r
345                 blendFunc blend\r
346         }\r
347 }\r
348 \r
349 textures/desertfactory_shaders/writing02\r
350 {\r
351         qer_editorimage textures/desertfactory_shaders/writing02.jpg\r
352         surfaceparm trans\r
353         nopicmip\r
354         nomipmaps\r
355         {\r
356                 map textures/desertfactory_documents/writing02.tga\r
357                 blendFunc blend\r
358         }\r
359 }\r
360 \r
361 textures/desertfactory_shaders/writing03\r
362 {\r
363         qer_editorimage textures/desertfactory_shaders/writing03.jpg\r
364         surfaceparm trans\r
365         nopicmip\r
366         nomipmaps\r
367         {\r
368                 map textures/desertfactory_documents/writing03.tga\r
369                 blendFunc blend\r
370         }\r
371 }\r
372 \r
373 textures/desertfactory_shaders/writing04\r
374 {\r
375         qer_editorimage textures/desertfactory_shaders/writing04.jpg\r
376         surfaceparm trans\r
377         nopicmip\r
378         nomipmaps\r
379         {\r
380                 map textures/desertfactory_documents/writing04.tga\r
381                 blendFunc blend\r
382         }\r
383 }\r
384 \r
385 textures/desertfactory_shaders/writing05\r
386 {\r
387         qer_editorimage textures/desertfactory_shaders/writing05.jpg\r
388         surfaceparm trans\r
389         nopicmip\r
390         nomipmaps\r
391         {\r
392                 map textures/desertfactory_documents/writing05.tga\r
393                 blendFunc blend\r
394         }\r
395 }\r
396 \r
397 //==============================================================================\r
398 // Metal\r
399 //==============================================================================\r
400 \r
401 textures/desertfactory_metal/barrel01\r
402 {\r
403         dpreflectcube cubemaps/exomorph/exomorph\r
404         surfaceparm metalsteps\r
405         {\r
406                 map textures/desertfactory_metal/barrel01\r
407         }\r
408         {\r
409                 map $lightmap\r
410                 blendfunc GL_DST_COLOR GL_ZERO\r
411                 rgbGen identity\r
412     }\r
413 }\r
414 \r
415 textures/desertfactory_metal/barrel01_bulletholes\r
416 {\r
417         dpreflectcube cubemaps/exomorph/exomorph\r
418         surfaceparm metalsteps\r
419         {\r
420                 map textures/desertfactory_metal/barrel01_bulletholes\r
421         }\r
422         {\r
423                 map $lightmap\r
424                 blendfunc GL_DST_COLOR GL_ZERO\r
425                 rgbGen identity\r
426     }\r
427 }\r
428 \r
429 textures/desertfactory_metal/barrel01_top\r
430 {\r
431         dpreflectcube cubemaps/exomorph/exomorph\r
432         surfaceparm metalsteps\r
433         {\r
434                 map textures/desertfactory_metal/barrel01_top\r
435         }\r
436         {\r
437                 map $lightmap\r
438                 blendfunc GL_DST_COLOR GL_ZERO\r
439                 rgbGen identity\r
440     }\r
441 }\r
442 \r
443 textures/desertfactory_metal/grates01\r
444 {\r
445         dpreflectcube cubemaps/exomorph/exomorph\r
446         surfaceparm metalsteps\r
447         {\r
448                 map textures/desertfactory_metal/grates01\r
449         }\r
450         {\r
451                 map $lightmap\r
452                 blendfunc GL_DST_COLOR GL_ZERO\r
453                 rgbGen identity\r
454     }\r
455 }\r
456 \r
457 textures/desertfactory_metal/metal01\r
458 {\r
459         dpreflectcube cubemaps/exomorph/exomorph\r
460         surfaceparm metalsteps\r
461         {\r
462                 map textures/desertfactory_metal/metal01\r
463         }\r
464         {\r
465                 map $lightmap\r
466                 blendfunc GL_DST_COLOR GL_ZERO\r
467                 rgbGen identity\r
468     }\r
469 }\r
470 \r
471 textures/desertfactory_metal/metal02\r
472 {\r
473         dpreflectcube cubemaps/exomorph/exomorph\r
474         surfaceparm metalsteps\r
475         {\r
476                 map textures/desertfactory_metal/metal02\r
477         }\r
478         {\r
479                 map $lightmap\r
480                 blendfunc GL_DST_COLOR GL_ZERO\r
481                 rgbGen identity\r
482     }\r
483 }\r
484 \r
485 textures/desertfactory_metal/metal03\r
486 {\r
487         dpreflectcube cubemaps/exomorph/exomorph\r
488         surfaceparm metalsteps\r
489         {\r
490                 map textures/desertfactory_metal/metal03\r
491         }\r
492         {\r
493                 map $lightmap\r
494                 blendfunc GL_DST_COLOR GL_ZERO\r
495                 rgbGen identity\r
496     }\r
497 }\r
498 \r
499 textures/desertfactory_metal/metal04\r
500 {\r
501         dpreflectcube cubemaps/exomorph/exomorph\r
502         surfaceparm metalsteps\r
503         {\r
504                 map textures/desertfactory_metal/metal04\r
505         }\r
506         {\r
507                 map $lightmap\r
508                 blendfunc GL_DST_COLOR GL_ZERO\r
509                 rgbGen identity\r
510     }\r
511 }\r
512 \r
513 textures/desertfactory_metal/metal05\r
514 {\r
515         dpreflectcube cubemaps/exomorph/exomorph\r
516         surfaceparm metalsteps\r
517         {\r
518                 map textures/desertfactory_metal/metal05\r
519         }\r
520         {\r
521                 map $lightmap\r
522                 blendfunc GL_DST_COLOR GL_ZERO\r
523                 rgbGen identity\r
524     }\r
525 }\r
526 \r
527 textures/desertfactory_metal/roof01\r
528 {\r
529         dpreflectcube cubemaps/exomorph/exomorph\r
530         surfaceparm metalsteps\r
531         {\r
532                 map textures/desertfactory_metal/roof01\r
533         }\r
534         {\r
535                 map $lightmap\r
536                 blendfunc GL_DST_COLOR GL_ZERO\r
537                 rgbGen identity\r
538     }\r
539 }