]> icculus.org git repositories - divverent/nexuiz.git/blob - data/scripts/e7.shader
commit 1.2.1 game media
[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 //smalll light\r
54 textures/e7/e7slight\r
55 {\r
56         qer_editorimage textures/e7/e7slight.tga\r
57         q3map_lightimage textures/e7/e7slight.blend.tga\r
58         surfaceparm nomarks\r
59         q3map_surfacelight 2500\r
60         {\r
61                 map $lightmap \r
62                 rgbGen identity\r
63                 tcGen lightmap \r
64         }\r
65         {\r
66                 map textures/e7/e7slight.tga\r
67                 blendfunc filter\r
68                 rgbGen identity\r
69         }\r
70         {\r
71                 map textures/e7/e7slight.blend.tga\r
72                 blendfunc add\r
73                 rgbGen identity\r
74         }\r
75 }\r
76 \r
77 textures/e7/e7trimlight\r
78 {\r
79         qer_editorimage textures/e7/e7trimlight.tga\r
80         q3map_lightimage textures/e7/e7trimlight.blend.tga\r
81         surfaceparm nomarks\r
82         q3map_surfacelight 700\r
83         {\r
84                 map $lightmap \r
85                 rgbGen identity\r
86                 tcGen lightmap \r
87         }\r
88         {\r
89                 map textures/e7/e7trimlight.tga\r
90                 blendfunc filter\r
91                 rgbGen identity\r
92         }\r
93         {\r
94                 map textures/e7/e7trimlight.blend.tga\r
95                 blendfunc add\r
96                 rgbGen identity\r
97         }\r
98 }\r
99 \r
100 //evilgrate\r
101 textures/e7/e7wgrate\r
102 {\r
103     qer_editorimage textures/e7/e7wgrate.tga\r
104         surfaceparm alphashadow\r
105         surfaceparm nomarks\r
106         surfaceparm metalsteps\r
107         surfaceparm trans\r
108         cull disable\r
109         nopicmip\r
110         {\r
111                 map textures/e7/e7wgrate.tga\r
112                 rgbGen identity\r
113                 depthWrite\r
114                 alphaFunc GE128\r
115         }\r
116         {\r
117                 map $lightmap \r
118                 blendfunc filter\r
119                 rgbGen identity\r
120                 tcGen lightmap \r
121                 depthFunc equal\r
122         }\r
123 }\r
124 \r
125 // evil lava - sorta looks bad ingame - imho\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 textures/e7/e7evilsky_1\r
147 {\r
148         qer_editorimage textures/e7/e7evilsky_1.tga\r
149         surfaceparm noimpact\r
150         surfaceparm nolightmap\r
151         surfaceparm nomarks\r
152         q3map_surfacelight 200\r
153         q3map_sun 0.9 0.9 1 60 65 68\r
154         skyParms - 512 -\r
155         {\r
156                 map textures/e7/e7evilsky_1.tga\r
157                 rgbGen identity\r
158                 tcMod scroll 0.05 0.1\r
159                 tcMod scale 2 2\r
160         }\r
161         {\r
162                 map textures/e7/e7evilsky_2.tga\r
163                 blendfunc add\r
164                 rgbGen identity\r
165                 tcMod scroll 0.08 -0.06\r
166                 tcMod scale 3 2\r
167         }\r
168 }\r
169 \r
170 textures/e7/e7rain\r
171 {\r
172         qer_editorimage textures/e7/e7rain.tga\r
173         surfaceparm nolightmap\r
174         surfaceparm nomarks\r
175         surfaceparm nonsolid\r
176         surfaceparm trans\r
177         cull disable\r
178         deformVertexes move 3 1 0 sin 0 5 0 0.2 \r
179         deformVertexes move 0.6 3.3 0 sin 0 5 0 0.4 \r
180         deformVertexes wave 30 sin 0 10 0 0.2 \r
181         qer_trans 0.5\r
182         {\r
183                 map textures/e7/e7rain.tga\r
184                 blendfunc add\r
185                 rgbGen identity\r
186                 tcMod scroll 0.5 -8\r
187                 tcMod turb 0.1 0.25 0 -0.1\r
188         }\r
189         {\r
190                 map textures/e7/e7rain.tga\r
191                 blendfunc add\r
192                 rgbGen identity\r
193                 tcMod scroll 0.01 -6.3\r
194         }\r
195 }\r
196 \r
197 //dark redish sky\r
198 textures/e7/e7sky_01\r
199 {\r
200         qer_editorimage textures/e7/e7sky_01.tga\r
201         surfaceparm noimpact\r
202         surfaceparm nolightmap\r
203 \r
204         q3map_sun .9 .9 1 65 65 68\r
205         q3map_surfacelight 150\r
206         skyparms - 512 -\r
207         { \r
208                 map textures/e7/e7sky_01.tga \r
209                 rgbGen identity \r
210                 tcMod scroll 0.05 0.03 \r
211                 tcMod scale 2 2 \r
212         }\r
213         {\r
214                 map textures/e7/e7sky_02.tga\r
215                 blendfunc add\r
216                 rgbGen identity\r
217                 tcMod scroll 0.01 0.02\r
218                 tcMod scale 3 2\r
219         }\r
220 }\r
221 //jump pad 2\r
222 textures/e7/e7sbrickfloor_jump\r
223 {\r
224         qer_editorimage textures/e7/e7sbrickfloor_jump.tga\r
225         q3map_lightimage textures/e7/e7sbrickfloor_jump_glow.tga\r
226         surfaceparm nomarks\r
227         q3map_surfacelight 400\r
228         {\r
229                 map textures/e7/e7sbrickfloor_jump.tga\r
230                 rgbGen identity\r
231         }\r
232         {\r
233                 map $lightmap \r
234                 blendfunc filter\r
235                 rgbGen identity\r
236                 tcGen lightmap \r
237         }\r
238         {\r
239                 map textures/e7/e7sbrickfloor_jump_glow.tga\r
240                 blendfunc add\r
241                 rgbGen wave sin 0.5 0.8 0 1.5 \r
242         }\r
243 }\r
244 \r
245 //small grate\r
246 textures/e7/e7smgrate\r
247 {\r
248     qer_editorimage textures/e7/e7smgrate.tga\r
249         surfaceparm alphashadow\r
250         surfaceparm metalsteps\r
251         //surfaceparm trans\r
252         cull disable\r
253         nopicmip\r
254         {\r
255                 map textures/e7/e7smgrate.tga\r
256                 rgbGen identity\r
257                 depthWrite\r
258                 alphaFunc GE128\r
259         }\r
260         {\r
261                 map $lightmap \r
262                 blendfunc filter\r
263                 rgbGen identity\r
264                 tcGen lightmap \r
265                 depthFunc equal\r
266         }\r
267 }\r