]> de.git.xonotic.org Git - xonotic/xonotic-nexcompat.pk3dir.git/blob - scripts/evil3.shader
let's see if this wakes up gitweb
[xonotic/xonotic-nexcompat.pk3dir.git] / scripts / evil3.shader
1 // Original shader created by Yves Allaire,
2 // for Evil's Texture Set 3.
3 // [+] http://www.planetquake.com/hfx/
4 // Cleaned up and fixed by Gary Burgess.
5 // [+] http://www.inaeo.co.uk/cnd/
6 //NOTE FROM Yves: Please edit this .shader all you want, there might have some problems...
7 //--------------------------------------------
8
9 //------------------------------------------
10
11 textures/evil_floors/t-flr_oddtile_drty
12 {
13         {
14                 map textures/evil_floors/t-flr_oddtile_drty_glow.tga
15                 tcMod turb 1 1 1 1
16                 tcmod scale 2 1
17                 tcmod scroll 1 2
18                 blendFunc GL_ONE GL_ZERO
19                 rgbGen identity
20         }
21         {
22                 map textures/evil_floors/t-flr_oddtile_drty.tga
23                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
24                 rgbGen identity
25         }
26         {
27                 map $lightmap
28                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
29                 rgbGen identity
30         }
31 }
32
33 //-------------------------------------------------
34
35 textures/evil_floors/grtmtl_offt
36 {
37         surfaceparm metalsteps
38         surfaceparm alphashadow
39         surfaceparm trans
40         surfaceparm nonsolid
41         cull none
42         {
43                 map textures/evil_floors/grtmtl_offt.tga
44                 alphaFunc GE128
45                 depthWrite
46                 rgbGen identity
47         }
48         {
49                 map $lightmap
50                 rgbGen identity
51                 blendFunc filter
52                 depthFunc equal
53         }
54 }
55
56 //----------------------------------------------
57
58 textures/evil_lights/rlight_a
59 {
60         qer_editorimage textures/evil_lights/rlight_a.tga
61         surfaceparm nomarks
62         q3map_surfacelight 1500
63         {
64                 map $lightmap
65                 rgbGen identity
66         }
67         {
68                 map textures/evil_lights/rlight_a.tga
69                 blendFunc GL_DST_COLOR GL_ZERO
70                 rgbGen identity
71         }
72 }
73
74 //--------------------------------------------
75
76 textures/evil_misc/rstbouncefan
77 {
78         cull disable
79         surfaceparm trans
80         surfaceparm nolightmap
81         sort 5
82         {
83                 clampmap textures/sfx/fan3bladeb.tga
84                 blendFunc blend
85                 tcmod rotate 999
86                 rgbGen identity
87         }
88         {
89                 map $lightmap
90                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
91                 rgbGen identity
92         }
93 }