]> icculus.org git repositories - divverent/nexuiz.git/blob - data/scripts/evil3.shader
cleanup
[divverent/nexuiz.git] / data / scripts / evil3.shader
1 // Original shader created by Yves Allaire,\r
2 // for Evil's Texture Set 3.\r
3 // [+] http://www.planetquake.com/hfx/\r
4 // Cleaned up and fixed by Gary Burgess.\r
5 // [+] http://www.inaeo.co.uk/cnd/\r
6 //NOTE FROM Yves: Please edit this .shader all you want, there might have some problems...\r
7 //--------------------------------------------\r
8 \r
9 textures/evil_floors/mtl-wlkway\r
10 {\r
11         surfaceparm metalsteps\r
12         surfaceparm trans\r
13         cull none\r
14         nopicmip\r
15         {\r
16                 map textures/evil_floors/mtl-wlkway.tga\r
17                 blendFunc GL_ONE GL_ZERO\r
18                 alphaFunc GE128\r
19                 depthWrite\r
20                 rgbGen identity\r
21         }\r
22         {\r
23                 map $lightmap\r
24                 rgbGen identity\r
25                 blendFunc GL_DST_COLOR GL_ZERO\r
26                 depthFunc equal\r
27         }\r
28 }\r
29 \r
30 //-------------------------------------------------\r
31 \r
32 textures/evil_floors/mtl-wlkway_end\r
33 {\r
34         surfaceparm metalsteps\r
35         surfaceparm trans\r
36         cull none\r
37         nopicmip\r
38         {\r
39                 map textures/evil_floors/mtl-wlkway_end.tga\r
40                 blendFunc GL_ONE GL_ZERO\r
41                 alphaFunc GE128\r
42                 depthWrite\r
43                 rgbGen identity\r
44         }\r
45         {\r
46                 map $lightmap\r
47                 rgbGen identity\r
48                 blendFunc GL_DST_COLOR GL_ZERO\r
49                 depthFunc equal\r
50         }\r
51 }\r
52 \r
53 //---------------------------------------------\r
54 \r
55 textures/evil_floors/mtl-wlkway_mid\r
56 {\r
57         surfaceparm metalsteps\r
58         surfaceparm trans\r
59         cull none\r
60         nopicmip\r
61         {\r
62                 map textures/evil_floors/mtl-wlkway_mid.tga\r
63                 blendFunc GL_ONE GL_ZERO\r
64                 alphaFunc GE128\r
65                 depthWrite\r
66                 rgbGen identity\r
67         }\r
68         {\r
69                 map $lightmap\r
70                 rgbGen identity\r
71                 blendFunc GL_DST_COLOR GL_ZERO\r
72                 depthFunc equal\r
73         }\r
74 }\r
75 \r
76 //------------------------------------------\r
77 \r
78 textures/evil_floors/t-flr_oddtile_drty\r
79 {\r
80         {\r
81                 map textures/evil_floors/t-flr_oddtile_drty_glow.tga\r
82                 tcMod turb 1 1 1 1\r
83                 tcmod scale 2 1\r
84                 tcmod scroll 1 2\r
85                 blendFunc GL_ONE GL_ZERO\r
86                 rgbGen identity\r
87         }\r
88         {\r
89                 map textures/evil_floors/t-flr_oddtile_drty.tga\r
90                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
91                 rgbGen identity\r
92         }\r
93         {\r
94                 map $lightmap\r
95                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
96                 rgbGen identity\r
97         }\r
98 }\r
99 \r
100 //-------------------------------------------------\r
101 \r
102 textures/evil_floors/cemtiledrk_mhbrk\r
103 {\r
104         {\r
105                 map textures/evil_floors/cemtiledrk_mhbrk_glow.tga\r
106                 tcMod turb 1.2 1 1.2 1\r
107                 tcmod scale 0 0\r
108                 tcmod scroll .1 .1\r
109                 blendFunc GL_ONE GL_ZERO\r
110                 rgbGen identity\r
111         }\r
112         {\r
113                 map textures/evil_floors/cemtiledrk_mhbrk.tga\r
114                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
115                 rgbGen identity\r
116         }\r
117         {\r
118                 map $lightmap\r
119                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
120                 rgbGen identity\r
121         }\r
122 }\r
123 \r
124 //-----------------------------------\r
125 \r
126 textures/evil_floors/grt_offmtl\r
127 {\r
128         surfaceparm metalsteps\r
129         surfaceparm alphashadow\r
130         surfaceparm trans\r
131         surfaceparm nonsolid\r
132         cull none\r
133         {\r
134                 map textures/evil_floors/grt_offmtl.tga\r
135                 alphaFunc GE128\r
136                 depthWrite\r
137                 rgbGen identity\r
138         }\r
139         {\r
140                 map $lightmap\r
141                 rgbGen identity\r
142                 blendFunc filter\r
143                 depthFunc equal\r
144         }\r
145 }\r
146 //-------------------------------------------\r
147 \r
148 textures/evil_floors/grtmtl_offt\r
149 {\r
150         surfaceparm metalsteps\r
151         surfaceparm alphashadow\r
152         surfaceparm trans\r
153         surfaceparm nonsolid\r
154         cull none\r
155         {\r
156                 map textures/evil_floors/grtmtl_offt.tga\r
157                 alphaFunc GE128\r
158                 depthWrite\r
159                 rgbGen identity\r
160         }\r
161         {\r
162                 map $lightmap\r
163                 rgbGen identity\r
164                 blendFunc filter\r
165                 depthFunc equal\r
166         }\r
167 }\r
168 \r
169 //------------------------------------------\r
170 \r
171 textures/evil_floors/grtmtl_offt2\r
172 {\r
173         surfaceparm metalsteps\r
174         surfaceparm alphashadow\r
175         surfaceparm trans\r
176         surfaceparm nonsolid\r
177         cull none\r
178         {\r
179                 map textures/evil_floors/grtmtl_offt2.tga\r
180                 alphaFunc GE128\r
181                 depthWrite\r
182                 rgbGen identity\r
183         }\r
184         {\r
185                 map $lightmap\r
186                 rgbGen identity\r
187                 blendFunc filter\r
188                 depthFunc equal\r
189         }\r
190 }\r
191 \r
192 //----------------------------------------------\r
193 \r
194 textures/evil_lights/rlight_a\r
195 {\r
196         qer_editorimage textures/evil_lights/rlight_a.tga\r
197         surfaceparm nomarks\r
198         q3map_surfacelight 1500\r
199         {\r
200                 map $lightmap\r
201                 rgbGen identity\r
202         }\r
203         {\r
204                 map textures/evil_lights/rlight_a.tga\r
205                 blendFunc GL_DST_COLOR GL_ZERO\r
206                 rgbGen identity\r
207         }\r
208         {\r
209                 map textures/evil_lights/rlight_a_blend.tga\r
210                 rgbGen wave sin 0.5 0.5 1 1\r
211                 blendFunc GL_ONE GL_ONE\r
212         }\r
213 }\r
214 \r
215 //--------------------------------------------\r
216 \r
217 textures/evil_misc/rstbouncefan\r
218 {\r
219         cull disable\r
220         surfaceparm trans\r
221         surfaceparm nolightmap\r
222         sort 5\r
223         {\r
224                 clampmap textures/sfx/fan3bladeb.tga\r
225                 blendFunc blend\r
226                 tcmod rotate 999\r
227                 rgbGen identity\r
228         }\r
229         {\r
230                 map textures/evil_misc/rstbouncefan.tga\r
231                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA\r
232                 rgbGen identity\r
233         }\r
234         {\r
235                 map $lightmap\r
236                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA\r
237                 rgbGen identity\r
238         }\r
239 }