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