]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - data/scripts/desertfactory.shader
Fix common.shader. Did a foolish mistake there in the past
[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         qer_editorimage textures/desertfactory_shaders/glass01.jpg\r
51         surfaceparm trans\r
52         surfaceparm lightfilter\r
53         {\r
54                 map textures/desertfactory_misc/glass01.tga\r
55                 blendFunc blend\r
56         }\r
57 }\r
58 \r
59 textures/desertfactory_shaders/metal01-metal02\r
60 {\r
61         qer_editorimage textures/desertfactory_shaders/metal01-metal02.jpg\r
62         q3map_alphaMod dotproduct2 ( 0 0 1.25 )\r
63         {\r
64                 map textures/desertfactory_metal/metal01.tga\r
65         }\r
66         {\r
67                 map textures/desertfactory_metal/metal02.tga\r
68                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA           \r
69                 alphaGen vertex\r
70         }\r
71         {\r
72                 map $lightmap\r
73                 blendFunc GL_DST_COLOR GL_ZERO\r
74         }\r
75 }\r
76 \r
77 textures/desertfactory_shaders/grates01\r
78 {\r
79         qer_editorimage textures/desertfactory_shaders/grates01.jpg\r
80         qer_trans 0.5\r
81         surfaceparm trans\r
82         surfaceparm alphashadow\r
83         surfaceparm nomarks\r
84         {\r
85                 map textures/desertfactory_metal/grates01.tga\r
86                 alphaFunc GT0\r
87                 rgbGen vertex\r
88         }\r
89 }\r
90 \r
91 textures/desertfactory_shaders/grass01\r
92 {\r
93         qer_editorimage textures/desertfactory_shaders/grass01.jpg\r
94         surfaceparm nomarks\r
95         surfaceparm trans\r
96         surfaceparm alphashadow\r
97         cull none\r
98         {\r
99                 map textures/desertfactory_misc/grass01.tga\r
100                 alphaFunc GT0\r
101                 rgbGen vertex\r
102         }\r
103 }\r
104 \r
105 textures/desertfactory_shaders/grass02\r
106 {\r
107         qer_editorimage textures/desertfactory_shaders/grass02.jpg\r
108         surfaceparm nomarks\r
109         surfaceparm trans\r
110         surfaceparm alphashadow\r
111         cull none\r
112         {\r
113                 map textures/desertfactory_misc/grass02.tga\r
114                 alphaFunc GT0\r
115                 rgbGen vertex\r
116         }\r
117 }\r
118 \r
119 textures/desertfactory_shaders/vines01\r
120 {\r
121         qer_editorimage textures/desertfactory_shaders/vines01.jpg\r
122         surfaceparm nomarks\r
123         surfaceparm trans\r
124         surfaceparm alphashadow\r
125         cull none\r
126         {\r
127                 map textures/desertfactory_misc/vines01.tga\r
128                 alphaFunc GT0\r
129                 rgbGen vertex\r
130         }\r
131 }\r
132 \r
133 //==============================================================================\r
134 // Signs\r
135 //==============================================================================\r
136 textures/desertfactory_shaders/sign_above_clean\r
137 {\r
138         qer_editorimage textures/desertfactory_shaders/sign_above_clean.jpg\r
139         {\r
140                 map textures/desertfactory_signs/above_clean.tga\r
141                 alphaFunc GT0\r
142                 rgbGen vertex\r
143         }\r
144 }\r
145 \r
146 textures/desertfactory_shaders/sign_explosion_clean\r
147 {\r
148         qer_editorimage textures/desertfactory_shaders/sign_explosion_clean.jpg\r
149         {\r
150                 map textures/desertfactory_signs/explosion_clean.tga\r
151                 alphaFunc GT0\r
152                 rgbGen vertex\r
153         }\r
154 }\r
155 \r
156 textures/desertfactory_shaders/sign_ladder_clean\r
157 {\r
158         qer_editorimage textures/desertfactory_shaders/sign_ladder_clean.tga\r
159         {\r
160                 map textures/desertfactory_signs/ladder_clean.tga\r
161                 alphaFunc GT0\r
162                 rgbGen vertex\r
163         }\r
164 }\r
165 \r
166 textures/desertfactory_shaders/sign_radioactive_clean\r
167 {\r
168         qer_editorimage textures/desertfactory_shaders/sign_radioactive_clean.tga\r
169         {\r
170                 map textures/desertfactory_signs/radioactive_clean.tga\r
171                 alphaFunc GT0\r
172                 rgbGen vertex\r
173         }\r
174 }\r
175 \r
176 textures/desertfactory_shaders/sign_shock_clean\r
177 {\r
178         qer_editorimage textures/desertfactory_shaders/sign_shock_clean.tga\r
179         {\r
180                 map textures/desertfactory_signs/shock_clean.tga\r
181                 alphaFunc GT0\r
182                 rgbGen vertex\r
183         }\r
184 }\r
185 \r
186 textures/desertfactory_shaders/sign_toxic_clean\r
187 {\r
188         qer_editorimage textures/desertfactory_shaders/sign_toxic_clean.tga\r
189         {\r
190                 map textures/desertfactory_signs/toxic_clean.tga\r
191                 alphaFunc GT0\r
192                 rgbGen vertex\r
193         }\r
194 }\r
195 \r
196 textures/desertfactory_shaders/sign_warning_clean\r
197 {\r
198         qer_editorimage textures/desertfactory_shaders/sign_warning_clean.tga\r
199         {\r
200                 map textures/desertfactory_signs/warning_clean.tga\r
201                 alphaFunc GT0\r
202                 rgbGen vertex\r
203         }\r
204 }\r
205 \r
206 textures/desertfactory_shaders/sign_wires_clean\r
207 {\r
208         qer_editorimage textures/desertfactory_shaders/sign_wires_clean.tga\r
209         {\r
210                 map textures/desertfactory_signs/wires_clean.tga\r
211                 alphaFunc GT0\r
212                 rgbGen vertex\r
213         }\r
214 }\r
215 \r
216 textures/desertfactory_shaders/sign_above_dirty\r
217 {\r
218         qer_editorimage textures/desertfactory_shaders/sign_above_dirty.tga\r
219         {\r
220                 map textures/desertfactory_signs/above_dirty.tga\r
221                 alphaFunc GT0\r
222                 rgbGen vertex\r
223         }\r
224 }\r
225 \r
226 textures/desertfactory_shaders/sign_explosion_dirty\r
227 {\r
228         qer_editorimage textures/desertfactory_shaders/sign_explosion_dirty.tga\r
229         {\r
230                 map textures/desertfactory_signs/explosion_dirty.tga\r
231                 alphaFunc GT0\r
232                 rgbGen vertex\r
233         }\r
234 }\r
235 \r
236 textures/desertfactory_shaders/sign_ladder_dirty\r
237 {\r
238         qer_editorimage textures/desertfactory_shaders/sign_ladder_dirty.tga\r
239         {\r
240                 map textures/desertfactory_signs/ladder_dirty.tga\r
241                 alphaFunc GT0\r
242                 rgbGen vertex\r
243         }\r
244 }\r
245 \r
246 textures/desertfactory_shaders/sign_radioactive_dirty\r
247 {\r
248         qer_editorimage textures/desertfactory_shaders/sign_radioactive_dirty.tga\r
249         {\r
250                 map textures/desertfactory_signs/radioactive_dirty.tga\r
251                 alphaFunc GT0\r
252                 rgbGen vertex\r
253         }\r
254 }\r
255 \r
256 textures/desertfactory_shaders/sign_shock_dirty\r
257 {\r
258         qer_editorimage textures/desertfactory_shaders/sign_shock_dirty.tga\r
259         {\r
260                 map textures/desertfactory_signs/shock_dirty.tga\r
261                 alphaFunc GT0\r
262                 rgbGen vertex\r
263         }\r
264 }\r
265 \r
266 textures/desertfactory_shaders/sign_toxic_dirty\r
267 {\r
268         qer_editorimage textures/desertfactory_shaders/sign_toxic_dirty.tga\r
269         {\r
270                 map textures/desertfactory_signs/toxic_dirty.tga\r
271                 alphaFunc GT0\r
272                 rgbGen vertex\r
273         }\r
274 }\r
275 \r
276 textures/desertfactory_shaders/sign_warning_dirty\r
277 {\r
278         qer_editorimage textures/desertfactory_shaders/sign_warning_dirty.tga\r
279         {\r
280                 map textures/desertfactory_signs/warning_dirty.tga\r
281                 alphaFunc GT0\r
282                 rgbGen vertex\r
283         }\r
284 }\r
285 \r
286 textures/desertfactory_shaders/sign_wires_dirty\r
287 {\r
288         qer_editorimage textures/desertfactory_shaders/sign_wires_dirty.tga\r
289         {\r
290                 map textures/desertfactory_signs/wires_dirty.tga\r
291                 alphaFunc GT0\r
292                 rgbGen vertex\r
293         }\r
294 }\r
295 \r
296 //==============================================================================\r
297 // Writings\r
298 //==============================================================================\r
299 textures/desertfactory_shaders/writing01\r
300 {\r
301         qer_editorimage textures/desertfactory_shaders/writing01.jpg\r
302         surfaceparm trans\r
303         nopicmip\r
304         nomipmaps\r
305         {\r
306                 map textures/desertfactory_documents/writing01.tga\r
307                 blendFunc blend\r
308         }\r
309 }\r
310 \r
311 textures/desertfactory_shaders/writing02\r
312 {\r
313         qer_editorimage textures/desertfactory_shaders/writing02.jpg\r
314         surfaceparm trans\r
315         nopicmip\r
316         nomipmaps\r
317         {\r
318                 map textures/desertfactory_documents/writing02.tga\r
319                 blendFunc blend\r
320         }\r
321 }\r
322 \r
323 textures/desertfactory_shaders/writing03\r
324 {\r
325         qer_editorimage textures/desertfactory_shaders/writing03.jpg\r
326         surfaceparm trans\r
327         nopicmip\r
328         nomipmaps\r
329         {\r
330                 map textures/desertfactory_documents/writing03.tga\r
331                 blendFunc blend\r
332         }\r
333 }\r
334 \r
335 textures/desertfactory_shaders/writing04\r
336 {\r
337         qer_editorimage textures/desertfactory_shaders/writing04.jpg\r
338         surfaceparm trans\r
339         nopicmip\r
340         nomipmaps\r
341         {\r
342                 map textures/desertfactory_documents/writing04.tga\r
343                 blendFunc blend\r
344         }\r
345 }\r
346 \r
347 textures/desertfactory_shaders/writing05\r
348 {\r
349         qer_editorimage textures/desertfactory_shaders/writing05.jpg\r
350         surfaceparm trans\r
351         nopicmip\r
352         nomipmaps\r
353         {\r
354                 map textures/desertfactory_documents/writing05.tga\r
355                 blendFunc blend\r
356         }\r
357 }\r