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