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