]> icculus.org git repositories - divverent/nexuiz.git/blob - data/scripts/reaper.shader
renamed nexuiz-linux.sh to nexuiz-linux-sdl.sh
[divverent/nexuiz.git] / data / scripts / reaper.shader
1 // H.Reaper Q3Shader File V 1.5
2
3 //Multisampling & High Lightmap resolution
4
5 textures/Reaptxt/yellowgrad
6 {
7         qer_editorimage textures/Reaptxt/yellowgrad
8         surfaceparm nonsolid
9         {
10                 map textures/Reaptxt/yellowgrad
11                 blendfunc add   
12         }
13 }
14
15 textures/Reaptxt/Notext
16 {
17         qer_editorimage textures/Reaptxt/Notext.jpg
18         q3map_lightmapSampleSize 1
19         {
20                 map textures/Reaptxt/Notext.jpg
21                 rgbGen identity
22         }
23         {
24                 map textures/Reaptxt/detail.jpg
25                 blendfunc gl_dst_color gl_src_color
26                 rgbGen identity
27                 tcMod scale 2 2
28         }
29         {
30                 map $lightmap
31                 blendfunc filter
32                 rgbGen identity
33                 tcGen lightmap
34         }
35 }
36
37 //Multisampling & High Lightmap resolution
38
39 textures/Reaptxt/solsjrA
40 {
41         qer_editorimage textures/Reaptxt/solsjrA.tga
42         q3map_lightmapSampleSize 1
43         {
44                 map textures/Reaptxt/solsjrA.tga
45                 rgbGen identity
46         }
47         {
48                 map textures/Reaptxt/detail.jpg
49                 blendfunc gl_dst_color gl_src_color
50                 rgbGen identity
51                 tcMod scale 2 2
52         }
53         {
54                 map $lightmap
55                 blendfunc filter
56                 rgbGen identity
57                 tcGen lightmap
58         }
59 }
60
61 //Multisampling & High Lightmap resolution
62
63 textures/Reaptxt/p1sjr
64 {
65         qer_editorimage textures/Reaptxt/p1sjr.jpg
66         q3map_lightmapSampleSize 1
67         {
68                 map textures/Reaptxt/p1sjr.jpg
69                 rgbGen identity
70         }
71         {
72                 map textures/Reaptxt/detail.jpg
73                 blendfunc gl_dst_color gl_src_color
74                 rgbGen identity
75                 tcMod scale 2 2
76         }
77         {
78                 map $lightmap
79                 blendfunc filter
80                 rgbGen identity
81                 tcGen lightmap
82         }
83 }
84
85 //Multisampling & High Lightmap resolution
86
87 textures/Reaptxt/frizsjr
88 {
89         qer_editorimage textures/Reaptxt/frizsjr.jpg
90         q3map_lightmapSampleSize 1
91         {
92                 map textures/Reaptxt/frizsjr.jpg
93                 rgbGen identity
94         }
95         {
96                 map textures/Reaptxt/detail.jpg
97                 blendfunc gl_dst_color gl_src_color
98                 rgbGen identity
99                 tcMod scale 2 2
100         }
101         {
102                 map $lightmap
103                 blendfunc filter
104                 rgbGen identity
105                 tcGen lightmap
106         }
107 }
108
109 //Multisampling & High Lightmap resolution
110
111 textures/Reaptxt/p1chbr
112 {
113         qer_editorimage textures/Reaptxt/p1chbr.jpg
114         q3map_lightmapSampleSize 1
115         {
116                 map textures/Reaptxt/p1chbr.jpg
117                 rgbGen identity
118         }
119         {
120                 map textures/Reaptxt/detail.jpg
121                 blendfunc gl_dst_color gl_src_color
122                 rgbGen identity
123                 tcMod scale 2 2
124         }
125         {
126                 map $lightmap
127                 blendfunc filter
128                 rgbGen identity
129                 tcGen lightmap
130         }
131 }
132
133 //Multisampling, BumpMapping Lightmap Emulation & High Lightmap resolution
134
135 textures/Reaptxt/tuilestoit
136 {
137         qer_editorimage textures/Reaptxt/tuilestoit.tga
138         q3map_lightmapSampleSize 1
139         q3map_normalimage textures/Reaptxt/tuilestoit_norm.tga
140         {
141                 map textures/Reaptxt/tuilestoit.tga
142                 rgbGen identity
143         }
144         {
145                 map textures/Reaptxt/detail.jpg
146                 blendfunc gl_dst_color gl_src_color
147                 rgbGen identity
148                 tcMod scale 2 2
149         }
150         {
151                 map $lightmap
152                 blendfunc filter
153                 rgbGen identity
154                 tcGen lightmap
155         }
156 }
157
158 //Multisampling & High Lightmap resolution
159
160 textures/Reaptxt/murext
161 {
162         qer_editorimage textures/Reaptxt/murext.tga
163         q3map_lightmapSampleSize 1
164         {
165                 map textures/Reaptxt/murext.tga
166                 rgbGen identity
167         }
168         {
169                 map textures/Reaptxt/detail.jpg
170                 blendfunc gl_dst_color gl_src_color
171                 rgbGen identity
172                 tcMod scale 2 2
173         }
174         {
175                 map $lightmap
176                 blendfunc filter
177                 rgbGen identity
178                 tcGen lightmap
179         }
180 }
181
182 //Multisampling, BumpMapping Lightmap Emulation & High Lightmap resolution
183
184 textures/Reaptxt/brownstone
185 {
186         qer_editorimage textures/Reaptxt/brownstone.jpg
187         q3map_lightmapSampleSize 1
188         q3map_normalImage textures/Reaptxt/brownstone_norm.jpg
189         {
190                 map textures/Reaptxt/brownstone.jpg
191                 rgbGen identity
192         }
193         {
194                 map textures/Reaptxt/detail.jpg
195                 blendfunc gl_dst_color gl_src_color
196                 rgbGen identity
197                 tcMod scale 2 2
198         }
199         {
200                 map $lightmap
201                 blendfunc filter
202                 rgbGen identity
203                 tcGen lightmap
204         }
205 }
206
207 //Multisampling & High Lightmap resolution
208
209 textures/Reaptxt/Notext2
210 {
211         qer_editorimage textures/Reaptxt/Notext2.jpg
212         q3map_lightmapSampleSize 1
213         {
214                 map textures/Reaptxt/Notext2.jpg
215                 rgbGen identity
216         }
217         {
218                 map textures/Reaptxt/detail.jpg
219                 blendfunc gl_dst_color gl_src_color
220                 rgbGen identity
221                 tcMod scale 2 2
222         }
223         {
224                 map $lightmap
225                 blendfunc filter
226                 rgbGen identity
227                 tcGen lightmap
228         }
229 }
230
231 //Multisampling & High Lightmap resolution
232
233 textures/Reaper_dirt/grass7
234 {
235         qer_editorimage textures/Reaper_dirt/grass7.jpg
236         q3map_lightmapSampleSize 1
237         {
238                 map textures/Reaper_dirt/grass7.jpg
239                 rgbGen identity
240         }
241         {
242                 map textures/Reaper_dirt/grass7.jpg
243                 blendfunc gl_dst_color gl_src_color
244                 rgbGen identity
245                 tcMod scale 2 2
246         }
247         {
248                 map $lightmap
249                 blendfunc filter
250                 rgbGen identity
251                 tcGen lightmap
252         }
253 }
254
255 //Multisampling & High Lightmap resolution
256
257 textures/Reaper_dirt/grass8
258 {
259         qer_editorimage textures/Reaper_dirt/grass8.jpg
260         q3map_lightmapSampleSize 1
261         {
262                 map textures/Reaper_dirt/grass8.jpg
263                 rgbGen identity
264         }
265         {
266                 map textures/Reaper_dirt/grass8.jpg
267                 blendfunc gl_dst_color gl_src_color
268                 rgbGen identity
269                 tcMod scale 2 2
270         }
271         {
272                 map $lightmap
273                 blendfunc filter
274                 rgbGen identity
275                 tcGen lightmap
276         }
277 }
278
279 //Corona Shader, texture by HipShot
280
281 textures/Reaptxt/HSglow01
282 {
283         qer_editorimage textures/Reaptxt/HSglow01.jpg
284         surfaceparm trans
285         surfaceparm nonsolid
286         cull disable
287         surfaceparm nomarks
288         surfaceparm nolightmap
289         deformVertexes autosprite
290         {
291                 clampmap textures/Reaptxt/HSglow01.jpg
292                 tcMod stretch sin .8 0.2 0 .2
293                 tcmod rotate 5
294                 blendFunc add
295                 rgbGen identity
296         }
297 }
298
299 //EnvBox Shader, EnvBox by HipShot
300
301 textures/Reaptxt/rnorm
302 {
303         surfaceparm noimpact
304         surfaceparm nolightmap
305         q3map_sunExt 1 .5 0 75 350 20 2 16
306         q3map_skyLight 135 4
307         qer_editorimage textures/Reaptxt/rnorm.jpg
308         skyparms textures/Reaptxt/env/restnormal - -
309 }
310
311 //Fog Shader
312
313 textures/Reaptxt/fog_restdusk
314 {
315         qer_editorimage textures/Reaptxt/fog_restdusk.jpg
316         surfaceparm     trans
317         surfaceparm     nonsolid
318         surfaceparm     fog
319         surfaceparm     nolightmap
320         fogparms ( .177 .173 .21 ) 128
321 }
322
323 //Fog Shader
324
325 textures/Reaptxt/fog_restnormal
326 {
327         qer_editorimage textures/Reaptxt/fog_restnormal.jpg
328         surfaceparm     trans
329         surfaceparm     nonsolid
330         surfaceparm     fog
331         surfaceparm     nolightmap
332         fogparms ( .997 .985 .863 ) 1024
333 }
334
335 //Corona Shader, texture by HipShot
336
337 textures/Reaptxt/sun
338 {
339         qer_editorimage textures/Reaptxt/sun.jpg
340         cull disable
341         surfaceparm nonsolid
342         surfaceparm nomarks
343         surfaceparm nolightmap
344         deformVertexes autosprite
345         {
346                 clampmap textures/Reaptxt/sun.jpg
347                 //    tcMod stretch sin .2 0.2 0 .2
348                 tcmod rotate 5
349                 blendFunc add
350                 rgbGen identity
351         }
352 }
353
354 //Alpha Channel, Texture by Lud
355
356 textures/research_detail/lud_atomic.tga
357 {
358         qer_editorimage textures/research_detail/lud_atomic.tga
359         qer_trans 0.5
360         cull none
361         surfaceparm playerclip
362         {
363                 map textures/research_detail/lud_atomic.tga
364                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
365                 rgbGen vertex
366         }
367 }
368
369 //Volumetric Shadow
370
371 textures/shad/shad
372 {
373         qer_editorimage textures/shad/shad.tga
374         surfaceparm alphashadow
375         surfaceparm nolightmap
376         surfaceparm nonsolid
377         surfaceparm trans
378         {
379                 map *default
380                 alphaFunc GT0
381                 alphagen const 0.0
382         }
383 }
384
385 //Corona for lud_Corona.tga
386 //This shader is for DarkPlaces Engine - Nexuiz
387
388 textures/Reaptxt/lud_Corona
389 {
390         qer_editorimage textures/Reaptxt/lud_Corona.tga
391         surfaceparm trans
392         surfaceparm nonsolid
393         surfaceparm nolightmap
394         deformVertexes autosprite
395         cull disable
396         {
397                 clampmap textures/Reaptxt/lud_Corona.jpg
398                 blendFunc add
399                 rgbGen identity
400         }
401 }
402
403 //Corona for sun.tga by HipShot
404 //This shader is for DarkPlaces Engine - Nexuiz
405
406 textures/Reaptxt/lud_Corona
407 {
408         qer_editorimage textures/Reaptxt/sun.jpg
409         surfaceparm trans
410         surfaceparm nonsolid
411         surfaceparm nolightmap
412         deformVertexes autosprite
413         cull disable
414         {
415                 clampmap textures/Reaptxt/sun.jpg
416                 blendFunc add
417                 rgbGen identity
418         }
419 }
420
421 //Water for Q3texture, temp use.
422 //This shader is for DarkPlaces Engine - Nexuiz
423
424 textures/water/pool3d_5e
425 {
426         qer_editorimage textures/water/pool3d_5e.jpg
427         qer_trans 0.5
428         surfaceparm trans
429         surfaceparm nonsolid
430         surfaceparm water
431         deformVertexes wave 150.0 sin 2 5 0.25 0.1
432         Q3map_TessSize 128
433         cull none
434         {
435                 map textures/water/pool3d_5e.jpg
436                 blendFunc add
437                 rgbGen vertex
438         }
439 }
440
441 //Water for Q3texture, temp use.
442 //This shader is for DarkPlaces Engine - Nexuiz
443
444 textures/liquids/slime1
445 {
446         qer_editorimage textures/liquids/slime1.jpg
447         qer_trans 0.5
448         surfaceparm trans
449         surfaceparm nonsolid
450         surfaceparm slime
451         deformVertexes wave 150.0 sin 2 5 0.25 0.1
452         Q3map_TessSize 128
453         cull none
454         {
455                 map textures/liquids/slime1.jpg
456                 blendFunc add
457                 rgbGen identity
458         }
459 }
460
461 textures/liquids/protolava
462 {
463         qer_editorimage textures/liquids/protolava.jpg
464         qer_trans 0.5
465         surfaceparm trans
466         surfaceparm nonsolid
467         surfaceparm lava
468         deformVertexes wave 150.0 sin 2 5 0.25 0.1
469         Q3map_TessSize 128
470         cull none
471         {
472                 map textures/liquids/protolava.jpg
473                 blendFunc add
474                 rgbGen identity
475         }
476 }
477
478 //Corona for HRglow01.tga
479 //This shader is for DarkPlaces Engine - Nexuiz
480
481 textures/Reaptxt/HRglow01
482 {
483         qer_editorimage textures/Reaptxt/HRglow01.tga
484         surfaceparm trans
485         surfaceparm nonsolid
486         surfaceparm nolightmap
487         deformVertexes autosprite
488         cull disable
489         {
490                 clampmap textures/Reaptxt/HRglow01.tga
491                 blendFunc add
492                 rgbGen identity
493         }
494 }
495
496 //Corona for HRglow02.tga
497 //This shader is for DarkPlaces Engine - Nexuiz
498
499 textures/Reaptxt/HRglow02
500 {
501         qer_editorimage textures/Reaptxt/HRglow02.tga
502         surfaceparm trans
503         surfaceparm nonsolid
504         surfaceparm nolightmap
505         deformVertexes autosprite
506         cull disable
507         {
508                 clampmap textures/Reaptxt/HRglow02.tga
509                 blendFunc add
510                 rgbGen identity
511         }
512 }
513
514 //Corona for HRglow03.tga
515 //This shader is for DarkPlaces Engine - Nexuiz
516
517 textures/Reaptxt/HRglow03
518 {
519         qer_editorimage textures/Reaptxt/HRglow03.tga
520         surfaceparm trans
521         surfaceparm nonsolid
522         surfaceparm nolightmap
523         deformVertexes autosprite
524         cull disable
525         {
526                 clampmap textures/Reaptxt/HRglow03.tga
527                 blendFunc add
528                 rgbGen identity
529         }
530 }
531
532 //Corona for HRsun01.tga
533 //This shader is for DarkPlaces Engine - Nexuiz
534
535 textures/Reaptxt/HRsun01
536 {
537         qer_editorimage textures/Reaptxt/HRsun01.tga
538         surfaceparm trans
539         surfaceparm nonsolid
540         surfaceparm nolightmap
541         deformVertexes autosprite
542         cull disable
543         {
544                 clampmap textures/Reaptxt/HRsun01.tga
545                 blendFunc add
546                 rgbGen identity
547         }
548 }
549
550 //EnvBox Shader, EnvBox by H.Reaper
551
552 textures/Reaptxt/HRSky
553 {
554         surfaceparm noimpact
555         surfaceparm nolightmap
556         surfaceparm sky
557         surfaceparm nomarks
558         q3map_sunExt 0 .7 3 10 360 80 2 16
559         q3map_skyLight 50 3
560         qer_editorimage textures/Reaptxt/HRSky.jpg
561         skyparms env/rsky - -
562 }
563
564 textures/Reaptxt/HRBlackBoxSky
565 {
566         surfaceparm noimpact
567         surfaceparm nolightmap
568         surfaceparm sky
569         surfaceparm nomarks
570         qer_editorimage env/blackbox/blackbox_up.jpg
571         skyparms env/blackbox - -
572 }