]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - data/scripts/greatwall_revisited.shader
9855480d280b512a5f17708b721ac95f5b2893a7
[voretournament/voretournament.git] / data / scripts / greatwall_revisited.shader
1 textures/gw_rev/sky
2 {
3         qer_editorimage env/exosystem/exosystem_up.tga
4
5         surfaceparm nolightmap
6         surfaceparm noimpact
7         surfaceparm nomarks
8         surfaceparm sky
9
10         skyparms env/exosystem/exosystem - -
11         q3map_surfacelight 200
12         q3map_lightimage textures/exosystem/exosystem_up.tga
13         q3map_sun .8 .7 0.2 100 60 45
14 }
15
16 textures/gw_rev/dp2terrain
17 {
18         qer_editorimage textures/terrain_dotproduct2/grass01-rock05
19         q3map_globalTexture
20         q3map_nonplanar
21         q3map_shadeangle 90
22         q3map_lightmapSampleOffset 10
23         surfaceparm dust
24         q3map_alphaMod dotproduct2 ( 0.0 0.0 0.9 )
25
26         {
27                 map textures/gw_rev/rock.tga    // Primary
28                 tcMod scale 10 10
29         }
30
31         {
32                 map textures/gw_rev/grass.tga   // Secondary
33                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
34                 alphaGen vertex
35                 tcMod scale 10 10
36         }
37
38         {
39                 map $lightmap
40                 blendFunc GL_DST_COLOR GL_ZERO
41         }
42 }
43
44 textures/gw_rev/dp2detail
45 {
46         qer_editorimage textures/terrain_data/rock05.tga
47         q3map_globalTexture
48         q3map_nonplanar
49         q3map_shadeangle 90
50         surfaceparm dust
51         q3map_alphaMod dotproduct2 ( 0.0 0.0 0.9 )
52
53         {
54                 map textures/gw_rev/rock.tga
55         }
56
57         {
58                 map textures/gw_rev/grass.tga
59                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
60                 alphaGen vertex
61         }
62
63         {
64                 map $lightmap
65                 blendFunc GL_DST_COLOR GL_ZERO
66         }
67 }
68
69 textures/gw_rev/baum1
70 {
71         cull none
72         qer_editorimage textures/gw_rev/baum1.tga
73         qer_trans 0.6
74         surfaceparm trans
75         surfaceparm alphashadow
76         {
77                 map $lightmap
78                 alphaFunc GT0
79                 rgbGen identity
80         }
81         {
82                 map textures/gw_rev/baum1.tga
83                 rgbGen identity
84                 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
85                 
86         }
87 }
88
89 textures/gw_rev/border
90 {
91         cull none
92         qer_editorimage textures/gw_rev/border.tga
93         qer_trans 0.6
94         surfaceparm trans
95         surfaceparm alphashadow
96         {
97                 map $lightmap
98                 alphaFunc GT0
99                 rgbGen identity
100         }
101         {
102                 map textures/gw_rev/border.tga
103                 rgbGen identity
104                 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
105         }
106 }
107
108 textures/gw_rev/baum2d1
109 {
110         deformVertexes autosprite2
111         cull none
112         qer_editorimage textures/gw_rev/baum2d1.tga
113         qer_trans 0.6
114         surfaceparm trans
115         surfaceparm alphashadow
116         surfaceparm nonsolid
117         {
118                 map $lightmap
119                 alphaFunc GT0
120                 rgbGen identity
121         }
122         {
123                 map textures/gw_rev/baum2d1.tga
124                 rgbGen identity
125                 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
126         }
127 }
128
129 textures/gw_rev/baum2d2
130 {
131         deformVertexes autosprite2
132         cull none
133         qer_editorimage textures/gw_rev/baum2d2.tga
134         qer_trans 0.6
135         surfaceparm trans
136         surfaceparm alphashadow
137         surfaceparm nonsolid
138         {
139                 map $lightmap
140                 alphaFunc GT0
141                 rgbGen identity
142         }
143         {
144                 map textures/gw_rev/baum2d2.tga
145                 rgbGen identity
146                 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
147         }
148 }
149
150 textures/gw_rev/baum2d3
151 {
152         deformVertexes autosprite2
153         cull none
154         qer_editorimage textures/gw_rev/baum2d3.tga
155         qer_trans 0.6
156         surfaceparm trans
157         surfaceparm alphashadow
158         surfaceparm nonsolid
159         {
160                 map $lightmap
161                 alphaFunc GT0
162                 rgbGen identity
163         }
164         {
165                 map textures/gw_rev/baum2d3.tga
166                 rgbGen identity
167                 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
168         }
169 }
170
171 textures/gw_rev/birke2d1
172 {
173         deformVertexes autosprite2
174         cull none
175         qer_editorimage textures/gw_rev/birke2d1.tga
176         qer_trans 0.6
177         surfaceparm trans
178         surfaceparm alphashadow
179         surfaceparm nonsolid
180         {
181                 map $lightmap
182                 alphaFunc GT0
183                 rgbGen identity
184         }
185         {
186                 map textures/gw_rev/birke2d1.tga
187                 rgbGen identity
188                 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
189         }
190 }
191
192 textures/gw_rev/birke2d2
193 {
194         deformVertexes autosprite2
195         cull none
196         qer_editorimage textures/gw_rev/birke2d2.tga
197         qer_trans 0.6
198         surfaceparm trans
199         surfaceparm alphashadow
200         surfaceparm nonsolid
201         {
202                 map $lightmap
203                 alphaFunc GT0
204                 rgbGen identity
205         }
206         {
207                 map textures/gw_rev/birke2d2.tga
208                 rgbGen identity
209                 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
210         }
211 }
212
213 textures/gw_rev/pine1
214 {
215         deformVertexes autosprite2
216         cull none
217         qer_editorimage textures/gw_rev/pine1.tga
218         qer_trans 0.6
219         surfaceparm trans
220         surfaceparm alphashadow
221         surfaceparm nonsolid
222         {
223                 map $lightmap
224                 alphaFunc GT0
225                 rgbGen identity
226         }
227         {
228                 map textures/gw_rev/pine1.tga
229                 rgbGen identity
230                 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
231         }
232 }
233
234 textures/gw_rev/pine2
235 {
236         deformVertexes autosprite2
237         cull none
238         qer_editorimage textures/gw_rev/pine2.tga
239         qer_trans 0.6
240         surfaceparm trans
241         surfaceparm alphashadow
242         surfaceparm nonsolid
243         {
244                 map $lightmap
245                 alphaFunc GT0
246                 rgbGen identity
247         }
248         {
249                 map textures/gw_rev/pine2.tga
250                 rgbGen identity
251                 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
252         }
253 }
254
255 textures/gw_rev/pine3
256 {
257         deformVertexes autosprite2
258         cull none
259         qer_editorimage textures/gw_rev/pine3.tga
260         qer_trans 0.6
261         surfaceparm trans
262         surfaceparm alphashadow
263         surfaceparm nonsolid
264         {
265                 map $lightmap
266                 alphaFunc GT0
267                 rgbGen identity
268         }
269         {
270                 map textures/gw_rev/pine3.tga
271                 rgbGen identity
272                 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
273         }
274 }
275
276 textures/gw_rev/grasstex
277 {
278         cull none
279         qer_editorimage textures/gw_rev/grasstex.tga
280         qer_trans 0.6
281         surfaceparm trans
282         surfaceparm alphashadow
283         surfaceparm nonsolid
284         {
285                 map $lightmap
286                 alphaFunc GT0
287                 rgbGen identity
288         }
289         {
290                 map textures/gw_rev/grasstex.tga
291                 rgbGen identity
292                 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
293         }
294 }
295
296 textures/gw_rev/grass2d1
297 {
298         cull none
299         deformVertexes autosprite2
300         qer_editorimage textures/gw_rev/grass2d1.tga
301         qer_trans 0.6
302         surfaceparm trans
303         surfaceparm alphashadow
304         surfaceparm nonsolid
305         {
306                 map $lightmap
307                 alphaFunc GT0
308                 rgbGen identity
309         }
310         {
311                 map textures/gw_rev/grass2d1.tga
312                 rgbGen identity
313                 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
314         }
315 }
316
317 textures/gw_rev/grass2d2
318 {
319         cull none
320         deformVertexes autosprite2
321         qer_editorimage textures/gw_rev/grass2d2.tga
322         qer_trans 0.6
323         surfaceparm trans
324         surfaceparm alphashadow
325         surfaceparm nonsolid
326         {
327                 map $lightmap
328                 alphaFunc GT0
329                 rgbGen identity
330         }
331         {
332                 map textures/gw_rev/grass2d2.tga
333                 rgbGen identity
334                 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
335         }
336 }
337
338 textures/gw_rev/grass2d3
339 {
340         cull none
341         deformVertexes autosprite2
342         qer_editorimage textures/gw_rev/grass2d3.tga
343         qer_trans 0.6
344         surfaceparm trans
345         surfaceparm alphashadow
346         surfaceparm nonsolid
347         {
348                 map $lightmap
349                 alphaFunc GT0
350                 rgbGen identity
351         }
352         {
353                 map textures/gw_rev/grass2d3.tga
354                 rgbGen identity
355                 blendfunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
356         }
357 }
358
359 textures/gw_rev/lava1
360 {
361         qer_editorimage textures/gw_rev/lava1.tga
362         //qer_nocarve
363         qer_trans 0.5
364         surfaceparm noimpact
365         surfaceparm lava
366         surfaceparm nolightmap
367         surfaceparm trans
368         q3map_surfacelight 1000
369         cull disable
370         deformVertexes wave 140.0 sin 2 8 0.25 0.1
371         Q3map_TessSize 128
372         {
373                 blendfunc add
374                 map textures/gw_rev/lava1.tga
375                 rgbGen identity
376         }
377 }