]> icculus.org git repositories - divverent/nexuiz.git/blob - data/scripts/desertfactory.shader
New map. Desert Factory by Sev! (with correct GPL version ;))
[divverent/nexuiz.git] / data / scripts / desertfactory.shader
1 //------------------------------------------------------------------------------
2 // Shaders for the Desert Factory map project by sev
3 // All editor images are placed in the textures/desertfactory_shaders/ folder
4 //------------------------------------------------------------------------------
5
6 //------------------------------------------------------------------------------
7 // Sky
8 //------------------------------------------------------------------------------
9
10 textures/desertfactory_shaders/sky
11 {
12         qer_editorimage textures/desertfactory_shaders/sky.jpg
13
14         surfaceparm sky
15         surfaceparm noimpact
16         surfaceparm nolightmap
17         surfaceparm nodlight
18         surfaceparm nomarks
19
20         nopicmip
21         nomipmaps
22
23         skyparms env/desert/desert - - //farbox cloudheight nearbox
24         q3map_sunExt 1 0.95 0.9 400 315 50 0 16 //rgb intensity degrees elevation deviance samples
25 }
26
27 //------------------------------------------------------------------------------
28 // General
29 //------------------------------------------------------------------------------
30
31 textures/desertfactory_shaders/metal01-metal02\r
32 {\r
33         qer_editorimage textures/desertfactory_shaders/metal01-metal02.jpg\r
34 \r
35         q3map_alphaMod dotproduct2 ( 0 0 1.25 )\r
36         {\r
37                 map textures/desertfactory_metal/metal01.tga\r
38         }\r
39         {\r
40                 map textures/desertfactory_metal/metal02.tga\r
41                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           \r
42                 alphaGen vertex\r
43         }\r
44         {\r
45                 map $lightmap\r
46                 blendFunc GL_DST_COLOR GL_ZERO\r
47         }\r
48 }
49
50 textures/desertfactory_shaders/grates01\r
51 {\r
52         qer_editorimage textures/desertfactory_shaders/grates01.jpg
53         qer_trans 0.5
54
55         surfaceparm trans\r
56         surfaceparm alphashadow
57 \r
58         {\r
59                 map textures/desertfactory_metal/grates01.tga\r
60                 alphaFunc GT0\r
61                 rgbGen vertex\r
62         }\r
63 }
64
65 textures/desertfactory_shaders/glass01\r
66 {\r
67         qer_editorimage textures/desertfactory_shaders/glass01.jpg
68 \r
69         surfaceparm trans\r
70
71         {
72                 map textures/desertfactory_misc/glass01.tga
73                 blendFunc blend\r
74         }\r
75 }
76
77 textures/desertfactory_shaders/light02\r
78 {\r
79         qer_editorimage textures/desertfactory_shaders/light02.jpg
80 \r
81         surfaceparm trans
82         cull none\r
83
84         {
85                 map textures/desertfactory_misc/light02.tga
86                 blendFunc blend\r
87         }\r
88 }
89
90 textures/desertfactory_shaders/grass01\r
91 {\r
92         qer_editorimage textures/desertfactory_shaders/grass01.jpg
93
94         surfaceparm nomarks\r
95         surfaceparm trans\r
96         surfaceparm alphashadow
97
98         cull none
99 \r
100         {\r
101                 map textures/desertfactory_misc/grass01.tga\r
102                 alphaFunc GT0\r
103                 rgbGen vertex\r
104         }\r
105 }
106
107 textures/desertfactory_shaders/grass02\r
108 {\r
109         qer_editorimage textures/desertfactory_shaders/grass02.jpg
110
111         surfaceparm nomarks\r
112         surfaceparm trans\r
113         surfaceparm alphashadow
114
115         cull none
116 \r
117         {\r
118                 map textures/desertfactory_misc/grass02.tga\r
119                 alphaFunc GT0\r
120                 rgbGen vertex\r
121         }\r
122 }
123
124 textures/desertfactory_shaders/vines01\r
125 {\r
126         qer_editorimage textures/desertfactory_shaders/vines01.jpg
127
128         surfaceparm nomarks\r
129         surfaceparm trans\r
130         surfaceparm alphashadow
131 \r
132         cull none
133 \r
134         {\r
135                 map textures/desertfactory_misc/vines01.tga\r
136                 alphaFunc GT0\r
137                 rgbGen vertex\r
138         }\r
139 }
140
141 //------------------------------------------------------------------------------
142 // Signs
143 //------------------------------------------------------------------------------
144
145 textures/desertfactory_shaders/sign_above_clean\r
146 {\r
147         qer_editorimage textures/desertfactory_shaders/sign_above_clean.jpg
148 \r
149         {\r
150                 map textures/desertfactory_signs/above_clean.tga\r
151                 alphaFunc GT0\r
152                 rgbGen vertex\r
153         }\r
154 }
155
156 textures/desertfactory_shaders/sign_explosion_clean\r
157 {\r
158         qer_editorimage textures/desertfactory_shaders/sign_explosion_clean.jpg
159 \r
160         {\r
161                 map textures/desertfactory_signs/explosion_clean.tga\r
162                 alphaFunc GT0\r
163                 rgbGen vertex\r
164         }\r
165 }
166
167 textures/desertfactory_shaders/sign_ladder_clean\r
168 {\r
169         qer_editorimage textures/desertfactory_shaders/sign_ladder_clean.tga
170 \r
171         {\r
172                 map textures/desertfactory_signs/ladder_clean.tga\r
173                 alphaFunc GT0\r
174                 rgbGen vertex\r
175         }\r
176 }
177
178 textures/desertfactory_shaders/sign_radioactive_clean\r
179 {\r
180         qer_editorimage textures/desertfactory_shaders/sign_radioactive_clean.tga
181 \r
182         {\r
183                 map textures/desertfactory_signs/radioactive_clean.tga\r
184                 alphaFunc GT0\r
185                 rgbGen vertex\r
186         }\r
187 }
188
189 textures/desertfactory_shaders/sign_shock_clean\r
190 {\r
191         qer_editorimage textures/desertfactory_shaders/sign_shock_clean.tga
192 \r
193         {\r
194                 map textures/desertfactory_signs/shock_clean.tga\r
195                 alphaFunc GT0\r
196                 rgbGen vertex\r
197         }\r
198 }
199
200 textures/desertfactory_shaders/sign_toxic_clean\r
201 {\r
202         qer_editorimage textures/desertfactory_shaders/sign_toxic_clean.tga
203 \r
204         {\r
205                 map textures/desertfactory_signs/toxic_clean.tga\r
206                 alphaFunc GT0\r
207                 rgbGen vertex\r
208         }\r
209 }
210
211 textures/desertfactory_shaders/sign_warning_clean\r
212 {\r
213         qer_editorimage textures/desertfactory_shaders/sign_warning_clean.tga
214 \r
215         {\r
216                 map textures/desertfactory_signs/warning_clean.tga\r
217                 alphaFunc GT0\r
218                 rgbGen vertex\r
219         }\r
220 }
221
222 textures/desertfactory_shaders/sign_wires_clean\r
223 {\r
224         qer_editorimage textures/desertfactory_shaders/sign_wires_clean.tga
225 \r
226         {\r
227                 map textures/desertfactory_signs/wires_clean.tga\r
228                 alphaFunc GT0\r
229                 rgbGen vertex\r
230         }\r
231 }
232
233 textures/desertfactory_shaders/sign_above_dirty\r
234 {\r
235         qer_editorimage textures/desertfactory_shaders/sign_above_dirty.tga
236 \r
237         {\r
238                 map textures/desertfactory_signs/above_dirty.tga\r
239                 alphaFunc GT0\r
240                 rgbGen vertex\r
241         }\r
242 }
243
244 textures/desertfactory_shaders/sign_explosion_dirty\r
245 {\r
246         qer_editorimage textures/desertfactory_shaders/sign_explosion_dirty.tga
247 \r
248         {\r
249                 map textures/desertfactory_signs/explosion_dirty.tga\r
250                 alphaFunc GT0\r
251                 rgbGen vertex\r
252         }\r
253 }
254
255 textures/desertfactory_shaders/sign_ladder_dirty\r
256 {\r
257         qer_editorimage textures/desertfactory_shaders/sign_ladder_dirty.tga
258 \r
259         {\r
260                 map textures/desertfactory_signs/ladder_dirty.tga\r
261                 alphaFunc GT0\r
262                 rgbGen vertex\r
263         }\r
264 }
265
266 textures/desertfactory_shaders/sign_radioactive_dirty\r
267 {\r
268         qer_editorimage textures/desertfactory_shaders/sign_radioactive_dirty.tga
269 \r
270         {\r
271                 map textures/desertfactory_signs/radioactive_dirty.tga\r
272                 alphaFunc GT0\r
273                 rgbGen vertex\r
274         }\r
275 }
276
277 textures/desertfactory_shaders/sign_shock_dirty\r
278 {\r
279         qer_editorimage textures/desertfactory_shaders/sign_shock_dirty.tga
280 \r
281         {\r
282                 map textures/desertfactory_signs/shock_dirty.tga\r
283                 alphaFunc GT0\r
284                 rgbGen vertex\r
285         }\r
286 }
287
288 textures/desertfactory_shaders/sign_toxic_dirty\r
289 {\r
290         qer_editorimage textures/desertfactory_shaders/sign_toxic_dirty.tga
291 \r
292         {\r
293                 map textures/desertfactory_signs/toxic_dirty.tga\r
294                 alphaFunc GT0\r
295                 rgbGen vertex\r
296         }\r
297 }
298
299 textures/desertfactory_shaders/sign_warning_dirty\r
300 {\r
301         qer_editorimage textures/desertfactory_shaders/sign_warning_dirty.tga
302 \r
303         {\r
304                 map textures/desertfactory_signs/warning_dirty.tga\r
305                 alphaFunc GT0\r
306                 rgbGen vertex\r
307         }\r
308 }
309
310 textures/desertfactory_shaders/sign_wires_dirty\r
311 {\r
312         qer_editorimage textures/desertfactory_shaders/sign_wires_dirty.tga
313 \r
314         {\r
315                 map textures/desertfactory_signs/wires_dirty.tga\r
316                 alphaFunc GT0\r
317                 rgbGen vertex\r
318         }\r
319 }
320
321 //------------------------------------------------------------------------------
322 // Writings
323 //------------------------------------------------------------------------------
324
325 textures/desertfactory_shaders/writing01\r
326 {\r
327         qer_editorimage textures/desertfactory_shaders/writing01.jpg
328 \r
329         surfaceparm trans
330         nopicmip\r
331         nomipmaps\r
332
333         {
334                 map textures/desertfactory_documents/writing01.tga
335                 blendFunc blend\r
336         }\r
337 }
338
339 textures/desertfactory_shaders/writing02\r
340 {\r
341         qer_editorimage textures/desertfactory_shaders/writing02.jpg
342 \r
343         surfaceparm trans
344         nopicmip\r
345         nomipmaps\r
346
347         {
348                 map textures/desertfactory_documents/writing02.tga
349                 blendFunc blend\r
350         }\r
351 }
352
353 textures/desertfactory_shaders/writing03\r
354 {\r
355         qer_editorimage textures/desertfactory_shaders/writing03.jpg
356 \r
357         surfaceparm trans
358         nopicmip\r
359         nomipmaps\r
360
361         {
362                 map textures/desertfactory_documents/writing03.tga
363                 blendFunc blend\r
364         }\r
365 }
366
367 textures/desertfactory_shaders/writing04\r
368 {\r
369         qer_editorimage textures/desertfactory_shaders/writing04.jpg
370 \r
371         surfaceparm trans
372         nopicmip\r
373         nomipmaps\r
374
375         {
376                 map textures/desertfactory_documents/writing04.tga
377                 blendFunc blend\r
378         }\r
379 }
380
381 //------------------------------------------------------------------------------
382 // End of the file. Greetings from this rarely visited place X)
383 //------------------------------------------------------------------------------