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