]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - data/scripts/greatwall_revisited.shader
Add a cubemap reflection to the grabber model, in addition to gloss. Makes it much...
[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                 
85         }
86 }
87
88 textures/gw_rev/border
89 {
90         cull none
91         qer_editorimage textures/gw_rev/border.tga
92         qer_trans 0.6
93         surfaceparm trans
94         surfaceparm alphashadow
95         {
96                 map $lightmap
97                 alphaFunc GT0
98                 rgbGen identity
99         }
100         {
101                 map textures/gw_rev/border.tga
102                 rgbGen identity
103         }
104 }
105
106 textures/gw_rev/baum2d1
107 {
108         deformVertexes autosprite2
109         cull none
110         qer_editorimage textures/gw_rev/baum2d1.tga
111         qer_trans 0.6
112         surfaceparm trans
113         surfaceparm alphashadow
114         surfaceparm nonsolid
115         {
116                 map $lightmap
117                 alphaFunc GT0
118                 rgbGen identity
119         }
120         {
121                 map textures/gw_rev/baum2d1.tga
122                 rgbGen identity
123         }
124 }
125
126 textures/gw_rev/baum2d2
127 {
128         deformVertexes autosprite2
129         cull none
130         qer_editorimage textures/gw_rev/baum2d2.tga
131         qer_trans 0.6
132         surfaceparm trans
133         surfaceparm alphashadow
134         surfaceparm nonsolid
135         {
136                 map $lightmap
137                 alphaFunc GT0
138                 rgbGen identity
139         }
140         {
141                 map textures/gw_rev/baum2d2.tga
142                 rgbGen identity
143         }
144 }
145
146 textures/gw_rev/baum2d3
147 {
148         deformVertexes autosprite2
149         cull none
150         qer_editorimage textures/gw_rev/baum2d3.tga
151         qer_trans 0.6
152         surfaceparm trans
153         surfaceparm alphashadow
154         surfaceparm nonsolid
155         {
156                 map $lightmap
157                 alphaFunc GT0
158                 rgbGen identity
159         }
160         {
161                 map textures/gw_rev/baum2d3.tga
162                 rgbGen identity
163         }
164 }
165
166 textures/gw_rev/birke2d1
167 {
168         deformVertexes autosprite2
169         cull none
170         qer_editorimage textures/gw_rev/birke2d1.tga
171         qer_trans 0.6
172         surfaceparm trans
173         surfaceparm alphashadow
174         surfaceparm nonsolid
175         {
176                 map $lightmap
177                 alphaFunc GT0
178                 rgbGen identity
179         }
180         {
181                 map textures/gw_rev/birke2d1.tga
182                 rgbGen identity
183         }
184 }
185
186 textures/gw_rev/birke2d2
187 {
188         deformVertexes autosprite2
189         cull none
190         qer_editorimage textures/gw_rev/birke2d2.tga
191         qer_trans 0.6
192         surfaceparm trans
193         surfaceparm alphashadow
194         surfaceparm nonsolid
195         {
196                 map $lightmap
197                 alphaFunc GT0
198                 rgbGen identity
199         }
200         {
201                 map textures/gw_rev/birke2d2.tga
202                 rgbGen identity
203         }
204 }
205
206 textures/gw_rev/pine1
207 {
208         deformVertexes autosprite2
209         cull none
210         qer_editorimage textures/gw_rev/pine1.tga
211         qer_trans 0.6
212         surfaceparm trans
213         surfaceparm alphashadow
214         surfaceparm nonsolid
215         {
216                 map $lightmap
217                 alphaFunc GT0
218                 rgbGen identity
219         }
220         {
221                 map textures/gw_rev/pine1.tga
222                 rgbGen identity
223         }
224 }
225
226 textures/gw_rev/pine2
227 {
228         deformVertexes autosprite2
229         cull none
230         qer_editorimage textures/gw_rev/pine2.tga
231         qer_trans 0.6
232         surfaceparm trans
233         surfaceparm alphashadow
234         surfaceparm nonsolid
235         {
236                 map $lightmap
237                 alphaFunc GT0
238                 rgbGen identity
239         }
240         {
241                 map textures/gw_rev/pine2.tga
242                 rgbGen identity
243         }
244 }
245
246 textures/gw_rev/pine3
247 {
248         deformVertexes autosprite2
249         cull none
250         qer_editorimage textures/gw_rev/pine3.tga
251         qer_trans 0.6
252         surfaceparm trans
253         surfaceparm alphashadow
254         surfaceparm nonsolid
255         {
256                 map $lightmap
257                 alphaFunc GT0
258                 rgbGen identity
259         }
260         {
261                 map textures/gw_rev/pine3.tga
262                 rgbGen identity
263         }
264 }
265
266 textures/gw_rev/grasstex
267 {
268         cull none
269         qer_editorimage textures/gw_rev/grasstex.tga
270         qer_trans 0.6
271         surfaceparm trans
272         surfaceparm alphashadow
273         surfaceparm nonsolid
274         {
275                 map $lightmap
276                 alphaFunc GT0
277                 rgbGen identity
278         }
279         {
280                 map textures/gw_rev/grasstex.tga
281                 rgbGen identity
282         }
283 }
284
285 textures/gw_rev/grass2d1
286 {
287         cull none
288         deformVertexes autosprite2
289         qer_editorimage textures/gw_rev/grass2d1.tga
290         qer_trans 0.6
291         surfaceparm trans
292         surfaceparm alphashadow
293         surfaceparm nonsolid
294         {
295                 map $lightmap
296                 alphaFunc GT0
297                 rgbGen identity
298         }
299         {
300                 map textures/gw_rev/grass2d1.tga
301                 rgbGen identity
302         }
303 }
304
305 textures/gw_rev/grass2d2
306 {
307         cull none
308         deformVertexes autosprite2
309         qer_editorimage textures/gw_rev/grass2d2.tga
310         qer_trans 0.6
311         surfaceparm trans
312         surfaceparm alphashadow
313         surfaceparm nonsolid
314         {
315                 map $lightmap
316                 alphaFunc GT0
317                 rgbGen identity
318         }
319         {
320                 map textures/gw_rev/grass2d2.tga
321                 rgbGen identity
322         }
323 }
324
325 textures/gw_rev/grass2d3
326 {
327         cull none
328         deformVertexes autosprite2
329         qer_editorimage textures/gw_rev/grass2d3.tga
330         qer_trans 0.6
331         surfaceparm trans
332         surfaceparm alphashadow
333         surfaceparm nonsolid
334         {
335                 map $lightmap
336                 alphaFunc GT0
337                 rgbGen identity
338         }
339         {
340                 map textures/gw_rev/grass2d3.tga
341                 rgbGen identity
342         }
343 }
344
345 textures/gw_rev/lava1
346 {
347         qer_editorimage textures/gw_rev/lava1.tga
348         //qer_nocarve
349         qer_trans 0.5
350         surfaceparm noimpact
351         surfaceparm lava
352         surfaceparm nolightmap
353         surfaceparm trans
354         q3map_surfacelight 1000
355         cull disable
356         deformVertexes wave 140.0 sin 2 8 0.25 0.1
357         Q3map_TessSize 128
358         {
359                 blendfunc add
360                 map textures/gw_rev/lava1.tga
361                 rgbGen identity
362         }
363 }