]> icculus.org git repositories - divverent/nexuiz.git/blob - data/scripts/e7.shader
* Removed non-existent zenex1 from shaderlist.txt
[divverent/nexuiz.git] / data / scripts / e7.shader
1 // e7 shaders by Yves Allaire aka evil lair//\r
2 //   http://www.planetquake.com/hfx       //\r
3 //       hfx@planetquake.com             //\r
4 \r
5 //evil jump pad\r
6 \r
7 textures/e7/e7brickfloor01jump\r
8 {\r
9         qer_editorimage textures/e7/e7brickfloor01jump.tga\r
10         q3map_lightimage textures/e7/e7brickfloor01jump_glow.tga\r
11         surfaceparm nomarks\r
12         q3map_surfacelight 400\r
13         {\r
14                 map textures/e7/e7brickfloor01jump.tga\r
15                 rgbGen identity\r
16         }\r
17         {\r
18                 map $lightmap\r
19                 blendfunc filter\r
20                 rgbGen identity\r
21                 tcGen lightmap\r
22         }\r
23         {\r
24                 map textures/e7/e7brickfloor01jump_glow.tga\r
25                 blendfunc add\r
26                 rgbGen wave sin 0.5 0.8 0 1.5\r
27         }\r
28 }\r
29 \r
30 textures/e7/e7mlight\r
31 {\r
32         qer_editorimage textures/e7/e7mlight.tga\r
33         q3map_lightimage textures/e7/e7mlight.blend.tga\r
34         surfaceparm nomarks\r
35         q3map_surfacelight 1500\r
36         {\r
37                 map $lightmap\r
38                 rgbGen identity\r
39                 tcGen lightmap\r
40         }\r
41         {\r
42                 map textures/e7/e7mlight.tga\r
43                 blendfunc filter\r
44                 rgbGen identity\r
45         }\r
46         {\r
47                 map textures/e7/e7mlight.blend.tga\r
48                 blendfunc add\r
49                 rgbGen identity\r
50         }\r
51 }\r
52 \r
53 //small light\r
54 \r
55 textures/e7/e7slight\r
56 {\r
57         qer_editorimage textures/e7/e7slight.tga\r
58         q3map_lightimage textures/e7/e7slight.blend.tga\r
59         surfaceparm nomarks\r
60         q3map_surfacelight 2500\r
61         {\r
62                 map $lightmap\r
63                 rgbGen identity\r
64                 tcGen lightmap\r
65         }\r
66         {\r
67                 map textures/e7/e7slight.tga\r
68                 blendfunc filter\r
69                 rgbGen identity\r
70         }\r
71         {\r
72                 map textures/e7/e7slight.blend.tga\r
73                 blendfunc add\r
74                 rgbGen identity\r
75         }\r
76 }\r
77 \r
78 textures/e7/e7trimlight\r
79 {\r
80         qer_editorimage textures/e7/e7trimlight.tga\r
81         q3map_lightimage textures/e7/e7trimlight.blend.tga\r
82         surfaceparm nomarks\r
83         q3map_surfacelight 700\r
84         {\r
85                 map $lightmap\r
86                 rgbGen identity\r
87                 tcGen lightmap\r
88         }\r
89         {\r
90                 map textures/e7/e7trimlight.tga\r
91                 blendfunc filter\r
92                 rgbGen identity\r
93         }\r
94         {\r
95                 map textures/e7/e7trimlight.blend.tga\r
96                 blendfunc add\r
97                 rgbGen identity\r
98         }\r
99 }\r
100 \r
101 //evilgrate\r
102 \r
103 textures/e7/e7wgrate\r
104 {\r
105         qer_editorimage textures/e7/e7wgrate.tga\r
106         surfaceparm alphashadow\r
107         surfaceparm nomarks\r
108         surfaceparm metalsteps\r
109         surfaceparm trans\r
110         cull disable\r
111         nopicmip\r
112         {\r
113                 map textures/e7/e7wgrate.tga\r
114                 rgbGen identity\r
115                 depthWrite\r
116                 alphaFunc GE128\r
117         }\r
118         {\r
119                 map $lightmap\r
120                 blendfunc filter\r
121                 rgbGen identity\r
122                 tcGen lightmap\r
123                 depthFunc equal\r
124         }\r
125 }\r
126 \r
127 // evil lava - sorta looks bad ingame - imho\r
128 \r
129 textures/e7/e7sfx_lava\r
130 {\r
131         qer_editorimage textures/e7/e7sfx_lava.tga\r
132         surfaceparm lava\r
133         surfaceparm noimpact\r
134         surfaceparm nolightmap\r
135         surfaceparm trans\r
136         cull disable\r
137         deformVertexes wave 100 sin 3 2 0.1 0.1\r
138         tessSize 128\r
139         q3map_surfacelight 1500\r
140         q3map_globaltexture\r
141         {\r
142                 map textures/e7/e7sfx_lava.tga\r
143                 rgbGen identity\r
144                 tcMod turb 0 0.2 0 0.08\r
145         }\r
146 }\r
147 \r
148 //evil sky of impending doom :P\r
149 \r
150 textures/e7/e7evilsky_1\r
151 {\r
152         qer_editorimage textures/e7/e7evilsky_1.tga\r
153         surfaceparm noimpact\r
154         surfaceparm nolightmap\r
155         surfaceparm nomarks\r
156         q3map_surfacelight 200\r
157         q3map_sun 0.9 0.9 1 60 65 68\r
158         skyParms - 512 -\r
159         {\r
160                 map textures/e7/e7evilsky_1.tga\r
161                 rgbGen identity\r
162                 tcMod scroll 0.05 0.1\r
163                 tcMod scale 2 2\r
164         }\r
165         {\r
166                 map textures/e7/e7evilsky_2.tga\r
167                 blendfunc add\r
168                 rgbGen identity\r
169                 tcMod scroll 0.08 -0.06\r
170                 tcMod scale 3 2\r
171         }\r
172 }\r
173 \r
174 textures/e7/e7rain\r
175 {\r
176         qer_editorimage textures/e7/e7rain.tga\r
177         surfaceparm nolightmap\r
178         surfaceparm nomarks\r
179         surfaceparm nonsolid\r
180         surfaceparm trans\r
181         cull disable\r
182         deformVertexes move 3 1 0 sin 0 5 0 0.2\r
183         deformVertexes move 0.6 3.3 0 sin 0 5 0 0.4\r
184         deformVertexes wave 30 sin 0 10 0 0.2\r
185         qer_trans 0.5\r
186         {\r
187                 map textures/e7/e7rain.tga\r
188                 blendfunc add\r
189                 rgbGen identity\r
190                 tcMod scroll 0.5 -8\r
191                 tcMod turb 0.1 0.25 0 -0.1\r
192         }\r
193         {\r
194                 map textures/e7/e7rain.tga\r
195                 blendfunc add\r
196                 rgbGen identity\r
197                 tcMod scroll 0.01 -6.3\r
198         }\r
199 }\r
200 \r
201 //dark redish sky\r
202 \r
203 textures/e7/e7sky_01\r
204 {\r
205         qer_editorimage textures/e7/e7sky_01.tga\r
206         surfaceparm noimpact\r
207         surfaceparm nolightmap\r
208         q3map_sun .9 .9 1 65 65 68\r
209         q3map_surfacelight 150\r
210         skyparms - 512 -\r
211         {\r
212                 map textures/e7/e7sky_01.tga\r
213                 rgbGen identity\r
214                 tcMod scroll 0.05 0.03\r
215                 tcMod scale 2 2\r
216         }\r
217         {\r
218                 map textures/e7/e7sky_02.tga\r
219                 blendfunc add\r
220                 rgbGen identity\r
221                 tcMod scroll 0.01 0.02\r
222                 tcMod scale 3 2\r
223         }\r
224 }\r
225 \r
226 //jump pad 2\r
227 \r
228 textures/e7/e7sbrickfloor_jump\r
229 {\r
230         qer_editorimage textures/e7/e7sbrickfloor_jump.tga\r
231         q3map_lightimage textures/e7/e7sbrickfloor_jump_glow.tga\r
232         surfaceparm nomarks\r
233         q3map_surfacelight 400\r
234         {\r
235                 map textures/e7/e7sbrickfloor_jump.tga\r
236                 rgbGen identity\r
237         }\r
238         {\r
239                 map $lightmap\r
240                 blendfunc filter\r
241                 rgbGen identity\r
242                 tcGen lightmap\r
243         }\r
244         {\r
245                 map textures/e7/e7sbrickfloor_jump_glow.tga\r
246                 blendfunc add\r
247                 rgbGen wave sin 0.5 0.8 0 1.5\r
248         }\r
249 }\r
250 \r
251 //small grate\r
252 \r
253 textures/e7/e7smgrate\r
254 {\r
255         qer_editorimage textures/e7/e7smgrate.tga\r
256         surfaceparm alphashadow\r
257         surfaceparm metalsteps\r
258         //surfaceparm trans\r
259         cull disable\r
260         nopicmip\r
261         {\r
262                 map textures/e7/e7smgrate.tga\r
263                 rgbGen identity\r
264                 depthWrite\r
265                 alphaFunc GE128\r
266         }\r
267         {\r
268                 map $lightmap\r
269                 blendfunc filter\r
270                 rgbGen identity\r
271                 tcGen lightmap\r
272                 depthFunc equal\r
273         }\r
274 }