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