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