]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blob - scripts/map_lightspeed.shader
Merge branch 'master' into mirio/geoplanetary
[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/ex2x/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/ex2x/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/desertfactory/textures/misc/vines01.tga
80         surfaceparm nonsolid
81         surfaceparm nodlight
82         surfaceparm nolightmap
83
84         polygonOffset
85         sort 6
86         cull none
87         
88         
89         
90         {
91                 map models/desertfactory/textures/misc/vines01.tga
92                 blendfunc filter
93                 alphaFunc GT0
94                 rgbGen identity
95         }
96 }
97
98 textures/map_lightspeed/env1
99 {
100         qer_editorimage textures/map_lightspeed/env/env1.tga
101         qer_trans 20
102         surfaceparm nomarks
103         surfaceparm trans
104         surfaceparm water
105         surfaceparm nolightmap
106         cull none
107         q3map_globaltexture
108         {
109                 map textures/map_lightspeed/env/env1.tga
110                 //tcMod turb 0 0.04 0 0.08
111                 blendfunc add
112         }
113         dpreflectcube textures/map_lightspeed/env/env1_
114         dp_reflect 0  1 1 1 1
115 }
116
117 textures/map_lightspeed/env2
118 {
119         qer_editorimage textures/map_lightspeed/env/env2.tga
120         qer_trans 20
121         surfaceparm nomarks
122         surfaceparm trans
123         surfaceparm water
124         surfaceparm nolightmap
125         cull none
126         q3map_globaltexture
127         {
128                 map textures/map_lightspeed/env/env2.tga
129                 //tcMod turb 0 0.04 0 0.08
130                 blendfunc add
131         }
132         dpreflectcube textures/map_lightspeed/env/env2_
133         dp_reflect 0  1 1 1 1
134 }
135
136 textures/map_lightspeed/env3
137 {
138         qer_editorimage textures/map_lightspeed/env/env3.tga
139         qer_trans 20
140         surfaceparm nomarks
141         surfaceparm trans
142         surfaceparm water
143         surfaceparm nolightmap
144         cull none
145         q3map_globaltexture
146         {
147                 map textures/map_lightspeed/env/env3.tga
148                 //tcMod turb 0 0.04 0 0.08
149                 blendfunc add
150         }
151         dpreflectcube textures/map_lightspeed/env/env3_
152         dp_reflect 0  1 1 1 1
153 }
154
155 //Lightning1-a
156 textures/map_lightspeed/lightning1
157 {
158         qer_editorimage textures/effects_lightning/lightning1/3.tga
159         surfaceparm nolightmap
160         surfaceparm nodlight
161         surfaceparm trans
162         surfaceparm nomarks
163         surfaceparm noimpact
164         cull none
165         deformVertexes autosprite2
166         {
167         map textures/effects_lightning/lightning1/3.tga
168         blendfunc add
169         }
170 }
171 textures/map_lightspeed/lightning2
172 {
173         qer_editorimage textures/effects_lightning/lightning1/4.tga
174         surfaceparm nolightmap
175         surfaceparm nodlight
176         surfaceparm trans
177         surfaceparm nomarks
178         surfaceparm noimpact
179         cull none
180         deformVertexes autosprite2
181         {
182         map textures/effects_lightning/lightning1/4.tga
183         blendfunc add
184         }
185 }
186
187 textures/map_lightspeed/lightning3
188 {
189         qer_editorimage textures/effects_lightning/lightning1/9.tga
190         surfaceparm nolightmap
191         surfaceparm nodlight
192         surfaceparm trans
193         surfaceparm nomarks
194         surfaceparm noimpact
195         cull none
196         deformVertexes autosprite2
197         {
198         map textures/effects_lightning/lightning1/9.tga
199         blendfunc add
200         }
201 }
202
203 textures/map_lightspeed/lightning4
204 {
205         qer_editorimage textures/effects_lightning/lightning1/10.tga
206         surfaceparm nolightmap
207         surfaceparm nodlight
208         surfaceparm trans
209         surfaceparm nomarks
210         surfaceparm noimpact
211         cull none
212         deformVertexes autosprite2
213         {
214         map textures/effects_lightning/lightning1/10.tga
215         blendfunc add
216         }
217 }
218