]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/map_lightspeed.shader
6b1e04eaeb5461b310fb10c154144ae94ce740a2
[xonotic/xonotic-maps.pk3dir.git] / scripts / map_lightspeed.shader
1 textures/map_lightspeed/lightspeedscrn
2 {
3         qer_editorimage textures/map_lightspeed/screens/lightspeedscrn.tga
4
5         surfaceparm trans
6         surfaceparm nonsolid
7 //      surfaceparm nodlight
8 //      surfaceparm nolightmap
9         qer_trans 0.6
10         
11         polygonOffset
12         sort 6
13         cull none
14
15         {
16                 map textures/map_lightspeed/screens/lightspeedscrn.tga
17 //              rgbgen identity
18                 blendfunc blend
19                 tcMod scroll 0 -0.25
20         }
21 }
22
23 textures/map_lightspeed/lightspeedscrn_t
24 {
25         qer_editorimage textures/map_lightspeed/screens/lightspeedscrn1.tga
26 //      surfaceparm nolightmap
27 //      surfaceparm nodlight
28         surfaceparm trans
29         cull none
30         qer_trans 0.6
31         
32         {
33                 animMap 18 textures/map_lightspeed/screens/lightspeedscrn1.tga textures/map_lightspeed/screens/lightspeedscrn2.tga textures/map_lightspeed/screens/lightspeedscrn3.tga textures/map_lightspeed/screens/lightspeedscrn4.tga textures/map_lightspeed/screens/lightspeedscrn5.tga textures/map_lightspeed/screens/lightspeedscrn4.tga textures/map_lightspeed/screens/lightspeedscrn3.tga textures/map_lightspeed/screens/lightspeedscrn2.tga
34                 blendfunc blend
35         }
36 }
37
38 textures/map_lightspeed/lcd_compile
39 {
40         qer_editorimage models/map_lightspeed/lcd/lcd_compile1.jpg
41                 {
42                 animMap 5 models/map_lightspeed/lcd/lcd_compile1.jpg models/map_lightspeed/lcd/lcd_compile2.jpg models/map_lightspeed/lcd/lcd_compile3.jpg models/map_lightspeed/lcd/lcd_compile4.jpg models/map_lightspeed/lcd/lcd_compile5.jpg models/map_lightspeed/lcd/lcd_compile5.jpg models/map_lightspeed/lcd/lcd_compile5.jpg models/map_lightspeed/lcd/lcd_compile5.jpg models/map_lightspeed/lcd/lcd_compile5.jpg models/map_lightspeed/lcd/lcd_compile5.jpg 
43         }
44 }
45
46 models/map_lightspeed/lcd_map
47 {
48         qer_editorimage models/map_lightspeed/lcd/lcd_map.jpg
49                 {
50                 map models/map_lightspeed/lcd/lcd_map.jpg
51         }
52 }
53
54 textures/map_lightspeed/light_nonglow
55 {
56         qer_editorimage textures/map_lightspeed/light/light_1.tga
57         
58         q3map_bounceScale  0.75
59         dpoffsetmapping - 0.5
60         dpglossintensitymod  3
61         dpglossexponentmod  4
62
63
64         {
65                 map textures/map_lightspeed/light/light_1.tga
66                 
67
68         }
69         {
70                 map $lightmap
71                 rgbGen identity
72                 tcGen lightmap
73                 blendfunc filter
74         }
75 }
76
77 textures/map_lightspeed/vines
78 {
79         qer_editorimage models/map_lightspeed/vines/vines01.tga
80         surfaceparm trans
81         surfaceparm nonsolid
82         surfaceparm nodlight
83         surfaceparm nolightmap
84
85         polygonOffset
86         sort 6
87         cull none
88         
89         
90         
91         {
92                 map models/map_lightspeed/vines/vines01.tga
93                 blendfunc filter
94                 alphaFunc GT0
95                 rgbGen identity
96         }
97 }
98
99 textures/map_lightspeed/env1
100 {
101         qer_editorimage textures/map_lightspeed/env/env1.tga
102         qer_trans 20
103         surfaceparm nomarks
104         surfaceparm trans
105         surfaceparm water
106         surfaceparm nolightmap
107         cull none
108         q3map_globaltexture
109         {
110                 map textures/map_lightspeed/env/env1.tga
111                 //tcMod turb 0 0.04 0 0.08
112                 blendfunc add
113         }
114         dpreflectcube textures/map_lightspeed/env/env1_
115         dp_reflect 0  1 1 1 1
116 }
117
118 textures/map_lightspeed/env2
119 {
120         qer_editorimage textures/map_lightspeed/env/env2.tga
121         qer_trans 20
122         surfaceparm nomarks
123         surfaceparm trans
124         surfaceparm water
125         surfaceparm nolightmap
126         cull none
127         q3map_globaltexture
128         {
129                 map textures/map_lightspeed/env/env2.tga
130                 //tcMod turb 0 0.04 0 0.08
131                 blendfunc add
132         }
133         dpreflectcube textures/map_lightspeed/env/env2_
134         dp_reflect 0  1 1 1 1
135 }
136
137 textures/map_lightspeed/env3
138 {
139         qer_editorimage textures/map_lightspeed/env/env3.tga
140         qer_trans 20
141         surfaceparm nomarks
142         surfaceparm trans
143         surfaceparm water
144         surfaceparm nolightmap
145         cull none
146         q3map_globaltexture
147         {
148                 map textures/map_lightspeed/env/env3.tga
149                 //tcMod turb 0 0.04 0 0.08
150                 blendfunc add
151         }
152         dpreflectcube textures/map_lightspeed/env/env3_
153         dp_reflect 0  1 1 1 1
154 }
155
156 //Lightning1-a
157 textures/map_lightspeed/lightning1
158 {
159         qer_editorimage textures/effects_lightning/lightning1/3.tga
160         surfaceparm nolightmap
161         surfaceparm nodlight
162         surfaceparm trans
163         surfaceparm nomarks
164         surfaceparm noimpact
165         cull none
166         deformVertexes autosprite2
167         {
168         map textures/effects_lightning/lightning1/3.tga
169         blendfunc add
170         }
171 }
172 textures/map_lightspeed/lightning2
173 {
174         qer_editorimage textures/effects_lightning/lightning1/4.tga
175         surfaceparm nolightmap
176         surfaceparm nodlight
177         surfaceparm trans
178         surfaceparm nomarks
179         surfaceparm noimpact
180         cull none
181         deformVertexes autosprite2
182         {
183         map textures/effects_lightning/lightning1/4.tga
184         blendfunc add
185         }
186 }
187
188 textures/map_lightspeed/lightning3
189 {
190         qer_editorimage textures/effects_lightning/lightning1/9.tga
191         surfaceparm nolightmap
192         surfaceparm nodlight
193         surfaceparm trans
194         surfaceparm nomarks
195         surfaceparm noimpact
196         cull none
197         deformVertexes autosprite2
198         {
199         map textures/effects_lightning/lightning1/9.tga
200         blendfunc add
201         }
202 }
203
204 textures/map_lightspeed/lightning4
205 {
206         qer_editorimage textures/effects_lightning/lightning1/10.tga
207         surfaceparm nolightmap
208         surfaceparm nodlight
209         surfaceparm trans
210         surfaceparm nomarks
211         surfaceparm noimpact
212         cull none
213         deformVertexes autosprite2
214         {
215         map textures/effects_lightning/lightning1/10.tga
216         blendfunc add
217         }
218 }
219