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