Debian Codegraph @

pak6-patch088/scripts/sfx.shader

raw
1 // Q3 compatible shaders
2
3 textures/sfx/portal_sfx_ring
4 {
5 deformVertexes wave 25 sin 3 2 .5 3 // same as sfx/portal_sfx
6
7 {
8 map textures/sfx/portal_sfx_ring_blue1
9 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
10 rgbGen identity
11 }
12 {
13 map textures/sfx/portal_sfx_ring_electric
14 blendFunc add
15 rgbGen wave sin 0 .5 .25 .5
16 tcMod scroll 0 .5
17 }
18 {
19 map textures/sfx/portal_sfx1
20 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
21 tcMod rotate 360
22 }
23 {
24 map textures/sfx/portal_sfx_ring
25 blendFunc add
26 rgbGen wave sin 0 .5 .25 .5
27 }
28 }
29
30 // Q3 compatible fog shaders taken from oa_fog.shader
31
32 textures/sfx/hellfog_pj_dm10
33 {
34 qer_editorimage textures/sfx/hellfog
35 surfaceparm trans
36 surfaceparm nonsolid
37 surfaceparm fog
38 surfaceparm nolightmap
39 cull disable
40 fogparms ( 0.6 0.1 0.1 ) 500
41
42 {
43 map textures/liquids/kc_fogcloud3.tga
44 blendfunc filter
45 tcmod scale -.1 -.1
46 tcMod turb .01 .5 0 .05
47 }
48 {
49 map textures/liquids/kc_fogcloud3.tga
50 blendfunc filter
51 tcmod scale -.1 -.1
52 tcMod scroll -.02 .02
53 }
54 }
55
56 textures/sfx/hellfog_mini_dm10
57 {
58 surfaceparm trans
59 surfaceparm nonsolid
60 surfaceparm fog
61 surfaceparm nolightmap
62 cull disable
63 fogparms ( 0.6 0.1 0.1 ) 20
64
65 {
66 map textures/liquids/kc_fogcloud3.tga
67 blendfunc filter
68 tcMod turb .01 .5 0 .05
69 }
70 {
71 map textures/liquids/kc_fogcloud3.tga
72 blendfunc filter
73 tcMod scroll -.02 .02
74 }
75 }
76
77 textures/sfx/hellfog_tim_dm14
78 {
79 qer_editorimage textures/sfx/hellfog
80 surfaceparm trans
81 surfaceparm nonsolid
82 surfaceparm fog
83 surfaceparm nolightmap
84 cull disable
85 fogparms ( 0.6 0.1 0.1 ) 200
86
87 {
88 map textures/liquids/kc_fogcloud3.tga
89 blendfunc filter
90 tcmod scale -.1 -.1
91 tcMod turb .01 .5 0 .05
92 }
93 {
94 map textures/liquids/kc_fogcloud3.tga
95 blendfunc filter
96 tcmod scale -.1 -.1
97 tcMod scroll -.02 .02
98 }
99 }
100
101 textures/sfx/kc_hellfog_1k
102 {
103 surfaceparm trans
104 surfaceparm nonsolid
105 surfaceparm fog
106 surfaceparm nolightmap
107 cull disable
108 fogparms ( 0.65098 0.07451 0.11372 ) 200
109 q3map_surfacelight 1000
110 {
111 map textures/liquids/kc_fogcloud3.tga
112 blendfunc filter
113 tcmod scale -.1 -.1
114 tcMod turb .01 .5 0 .05
115 }
116 {
117 map textures/liquids/kc_fogcloud3.tga
118 blendfunc filter
119 tcmod scale -.1 -.1
120 tcMod scroll -0.23 -0.3
121 }
122 }
123
124 // obsolete?
125 textures/sfx/hellfog_1k
126 {
127 surfaceparm trans
128 surfaceparm nonsolid
129 surfaceparm fog
130 surfaceparm nolightmap
131 cull disable
132 fogparms ( 0.65098 0.07451 0.11372 ) 300
133 q3map_surfacelight 1000
134 {
135 map textures/liquids/kc_fogcloud3.tga
136 blendfunc filter
137 tcmod scale -.1 -.1
138 tcMod turb .01 .5 0 .05
139 }
140 {
141 map textures/liquids/kc_fogcloud3.tga
142 blendfunc filter
143 tcmod scale -.1 -.1
144 tcMod scroll -0.23 -0.3
145 }
146 }
147
148 // obsolete?
149 textures/sfx/hellfog
150 {
151 surfaceparm trans
152 surfaceparm nonsolid
153 surfaceparm fog
154 surfaceparm nolightmap
155 cull disable
156 fogparms ( 0.65098 0.07451 0.11372 ) 300
157 q3map_surfacelight 1000
158 {
159 map textures/liquids/kc_fogcloud3.tga
160 blendfunc filter
161 tcmod scale -.1 -.1
162 tcMod turb .01 .5 0 .05
163 }
164 {
165 map textures/liquids/kc_fogcloud3.tga
166 blendfunc filter
167 tcmod scale -.1 -.1
168 tcMod scroll -0.23 -0.3
169 }
170 }
171
172 // obsolete?
173 textures/sfx/constfog
174 {
175 surfaceparm trans
176 surfaceparm nonsolid
177 surfaceparm fog
178 surfaceparm nolightmap
179 cull disable
180 fogparms ( 0.6 0.6 0.6 ) 200
181 }
182
183 textures/sfx/q3tourney3fog
184 {
185 surfaceparm trans
186 surfaceparm nonsolid
187 surfaceparm fog
188 surfaceparm nolightmap
189 cull disable
190 fogparms ( 0.6 0.12 0.1 ) 300
191
192 {
193 map textures/liquids/kc_fogcloud3.tga
194 blendfunc filter
195 tcMod scale -0.1 -0.1
196 tcMod turb .01 .5 0 .05
197 }
198 {
199 map textures/liquids/kc_fogcloud3.tga
200 blendfunc filter
201 tcMod scale -0.1 -0.1
202 tcMod scroll -.02 .02
203 }
204 }
205
206 textures/sfx/q3dm9fog
207 {
208 surfaceparm trans
209 surfaceparm nonsolid
210 surfaceparm fog
211 surfaceparm nolightmap
212 cull disable
213 fogparms ( 0.47843 0.086275 0.086275 ) 500
214
215 {
216 map textures/liquids/kc_fogcloud3.tga
217 blendfunc filter
218 tcMod scale -0.1 -0.1
219 tcMod turb .01 .5 0 .05
220 }
221 {
222 map textures/liquids/kc_fogcloud3.tga
223 blendfunc filter
224 tcMod scale -0.1 -0.1
225 tcMod scroll -.02 .02
226 }
227 }
228
229 textures/sfx/q3dm14fog
230 {
231 surfaceparm trans
232 surfaceparm nonsolid
233 surfaceparm fog
234 surfaceparm nolightmap
235 cull disable
236 fogparms ( 0.72157 0.13 0.13 ) 300
237
238 {
239 map textures/liquids/kc_fogcloud3.tga
240 blendfunc filter
241 tcMod scale -0.1 -0.1
242 tcMod turb .01 .5 0 .05
243 }
244 {
245 map textures/liquids/kc_fogcloud3.tga
246 blendfunc filter
247 tcMod scale -0.1 -0.1
248 tcMod scroll -.02 .02
249 }
250 }
251
252 // added 1-19-2007 for backwards compat. with q3a
253 // and we needed a red fog :)
254 textures/sfx/hellfogdense
255 {
256 surfaceparm trans
257 surfaceparm nonsolid
258 surfaceparm fog
259 surfaceparm nolightmap
260 cull disable
261 fogparms ( 0.65098 0.07451 0.11372 ) 100
262 {
263 map textures/liquids/kc_fogcloud3.tga
264 blendfunc filter
265 tcMod scale -0.1 -0.1
266 tcMod turb .01 .5 0 .05
267 }
268 {
269 map textures/liquids/kc_fogcloud3.tga
270 blendfunc filter
271 tcMod scale -0.1 -0.1
272 tcMod scroll -0.23 -0.3
273 }
274 }
275
276
277 textures/sfx/xlightgreyfog
278 {
279 surfaceparm trans
280 surfaceparm nonsolid
281 surfaceparm fog
282 surfaceparm nomarks
283 surfaceparm nolightmap
284 fogparms ( 0.5 0.5 0.5 ) 800
285 }
286
287 textures/sfx/xdensegreyfog
288 {
289 surfaceparm trans
290 surfaceparm nonsolid
291 surfaceparm fog
292 surfaceparm nomarks
293 surfaceparm nolightmap
294 fogparms ( 0.5 0.5 0.5 ) 1000
295 }
296
297 textures/sfx/xfinalfog
298 {
299 surfaceparm trans
300 surfaceparm nonsolid
301 surfaceparm fog
302 surfaceparm nomarks
303 surfaceparm nolightmap
304 fogparms ( 0 0 0 ) 400
305 }
306
307 textures/sfx/xbluefog
308 {
309 surfaceparm trans
310 surfaceparm nonsolid
311 surfaceparm fog
312 surfaceparm nomarks
313 cull disable
314 fogparms ( 0.13 0.13 0.73 ) 128
315 }
316
317 textures/sfx/xredfog
318 {
319 surfaceparm trans
320 surfaceparm nonsolid
321 surfaceparm fog
322 surfaceparm nomarks
323 cull disable
324 fogparms ( 0.73 0.13 0.13 ) 500
325 }
326
327 textures/sfx/fog_timdm1
328 {
329 surfaceparm trans
330 surfaceparm nonsolid
331 surfaceparm fog
332 surfaceparm nolightmap
333 cull disable
334 //fogparms ( 0.67059 0.48235 0.21961 ) 500
335 fogparms ( 0.62 0.36 0 ) 520
336 }
337
338 textures/sfx/fog_timdm2
339 {
340 surfaceparm trans
341 surfaceparm nonsolid
342 surfaceparm fog
343 surfaceparm nolightmap
344 cull disable
345 fogparms ( 0.48 0.25 0 ) 300
346 }
347
348 // obsolete?
349 textures/sfx/fog_timdm8
350 {
351 surfaceparm trans
352 surfaceparm nonsolid
353 surfaceparm fog
354 surfaceparm nolightmap
355 cull disable
356 fogparms ( 0.2 0.2 0 ) 500
357 }
358
359 textures/sfx/fog_timctf1
360 {
361 surfaceparm trans
362 surfaceparm nonsolid
363 surfaceparm fog
364 surfaceparm nolightmap
365 cull disable
366 fogparms ( 0.7 0.7 0.72 ) 300
367
368 }
369
370 textures/sfx/fog_pjdm1
371 {
372 surfaceparm trans
373 surfaceparm nonsolid
374 surfaceparm fog
375 surfaceparm nolightmap
376 cull disable
377 fogparms ( 0.7 0.7 0.6 ) 400
378 }
379
380 textures/sfx/fog_intel
381 {
382 surfaceparm trans
383 surfaceparm nonsolid
384 surfaceparm fog
385 surfaceparm nolightmap
386 cull disable
387 fogparms ( 0.65098 0.07451 0.11372 ) 300
388 }
389
390 textures/sfx/proto_hellfog
391
392 {
393 surfaceparm trans
394 surfaceparm nonsolid
395 surfaceparm fog
396 surfaceparm nolightmap
397 cull disable
398 fogparms ( 0.65098 0.07451 0.11372 ) 500
399 }
400
401 // obsolete?
402 textures/sfx/fog_q3dm10
403 {
404 surfaceparm trans
405 surfaceparm nonsolid
406 surfaceparm fog
407 surfaceparm nolightmap
408 cull disable
409 fogparms ( 0.78431 0.82353 0.00392 ) 128
410 }
411
412 textures/sfx/mkc_fog_tdm3
413 {
414 surfaceparm trans
415 surfaceparm nonsolid
416 surfaceparm fog
417 surfaceparm nolightmap
418 cull disable
419 fogparms ( 0.47058 0.13725 0.14509 ) 500
420
421 {
422 map textures/liquids/kc_fogcloud3.tga
423 blendfunc filter
424 tcMod scale -0.1 -0.1
425 tcMod turb .01 .5 0 .05
426 }
427 {
428 map textures/liquids/kc_fogcloud3.tga
429 blendfunc filter
430 tcMod scale -0.1 -0.1
431 tcMod scroll -.02 .02
432 }
433 }
434
435 textures/sfx/mkc_fog_ctfred
436 {
437 surfaceparm trans
438 surfaceparm nonsolid
439 surfaceparm fog
440 surfaceparm nolightmap
441 cull disable
442 fogparms ( 0.6 0.3 0.3 ) 300
443 {
444 map textures/liquids/kc_fogcloud3.tga
445 blendfunc filter
446 tcMod scale -0.1 -0.1
447 tcMod turb .01 .5 0 .05
448 }
449 {
450 map textures/liquids/kc_fogcloud3.tga
451 blendfunc filter
452 tcMod scale -0.1 -0.1
453 tcMod scroll -.02 .02
454 }
455 }
456
457 textures/sfx/mkc_fog_ctfblue
458 {
459 surfaceparm trans
460 surfaceparm nonsolid
461 surfaceparm fog
462 surfaceparm nolightmap
463 cull disable
464 fogparms ( 0.3 0.3 0.4 ) 300
465 {
466 map textures/liquids/kc_fogcloud3.tga
467 blendfunc filter
468 tcMod scale -0.1 -0.1
469 tcMod turb .01 .5 0 .05
470 }
471 {
472 map textures/liquids/kc_fogcloud3.tga
473 blendfunc filter
474 tcMod scale 0.1 0.1
475 tcMod scroll -.02 .02
476 }
477 }
478
479 textures/sfx/mkc_fog_ctfblue2
480 {
481 surfaceparm trans
482 surfaceparm nonsolid
483 surfaceparm fog
484 surfaceparm nolightmap
485 cull disable
486 fogparms ( 0.3 0.3 0.6 ) 300
487 {
488 map textures/liquids/kc_fogcloud3.tga
489 blendfunc filter
490 tcMod scale -0.1 -0.1
491 tcMod turb .01 .5 0 .05
492 }
493 {
494 map textures/liquids/kc_fogcloud3.tga
495 blendfunc filter
496 tcMod scale 0.1 0.1
497 tcMod scroll -.02 .02
498 }
499 }
500
501