Playerclips, proper hints, lightnings, more detail, cubemapped water.
[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 textures/map_lightspeed/light_nonglow
47 {
48         qer_editorimage textures/map_lightspeed/light/light_1.tga
49         
50         q3map_bounceScale  0.75
51         dpoffsetmapping - 0.5
52         dpglossintensitymod  3
53         dpglossexponentmod  4
54
55
56         {
57                 map textures/map_lightspeed/light/light_1.tga
58                 
59
60         }
61         {
62                 map $lightmap
63                 rgbGen identity
64                 tcGen lightmap
65                 blendfunc filter
66         }
67 }
68
69 textures/map_lightspeed/vines
70 {
71         qer_editorimage models/map_lightspeed/vines/vines01.tga
72         surfaceparm nomarks
73         surfaceparm trans
74         surfaceparm alphashadow
75         cull none
76         {
77                 map models/map_lightspeed/vines/vines01.tga
78                 alphaFunc GT0
79                 rgbGen vertex
80         }
81 }
82
83 textures/map_lightspeed/env1
84 {
85         qer_editorimage textures/map_lightspeed/env/env1.tga
86         qer_trans 20
87         surfaceparm nomarks
88         surfaceparm trans
89         surfaceparm water
90         surfaceparm nolightmap
91         cull none
92         q3map_globaltexture
93         tessSize 256
94         {
95                 map textures/map_lightspeed/env/env1.tga
96                 tcMod turb 0 0.04 0 0.08
97                 blendfunc add
98         }
99         dpreflectcube textures/map_lightspeed/env/env1.tga
100         {
101                 map $lightmap
102                 blendfunc add
103                 tcGen lightmap
104         }       
105         dp_water 0.1 0.25  3 3  1 1 1  1 1 1  0.125
106 }
107
108 textures/map_lightspeed/env2
109 {
110         qer_editorimage textures/map_lightspeed/env/env2.tga
111         qer_trans 20
112         surfaceparm nomarks
113         surfaceparm trans
114         surfaceparm water
115         surfaceparm nolightmap
116         cull none
117         q3map_globaltexture
118         tessSize 256
119         {
120                 map textures/map_lightspeed/env/env2.tga
121                 tcMod turb 0 0.04 0 0.08
122                 blendfunc add
123         }
124         dpreflectcube textures/map_lightspeed/env/env2.tga
125         {
126                 map $lightmap
127                 blendfunc add
128                 tcGen lightmap
129         }       
130         dp_water 0.1 0.25  3 3  1 1 1  1 1 1  0.125
131 }
132
133 textures/map_lightspeed/env3
134 {
135         qer_editorimage textures/map_lightspeed/env/env3.tga
136         qer_trans 20
137         surfaceparm nomarks
138         surfaceparm trans
139         surfaceparm water
140         surfaceparm nolightmap
141         cull none
142         q3map_globaltexture
143         tessSize 256
144         {
145                 map textures/map_lightspeed/env/env3.tga
146                 tcMod turb 0 0.04 0 0.08
147                 blendfunc add
148         }
149         dpreflectcube textures/map_lightspeed/env/env3.tga
150         {
151                 map $lightmap
152                 blendfunc add
153                 tcGen lightmap
154         }       
155         dp_water 0.1 0.25  3 3  1 1 1  1 1 1  0.125
156 }
157
158 //Lightning1-a
159 textures/map_lightspeed/lightning1
160 {
161         qer_editorimage textures/effects_lightning/lightning1/3.tga
162         surfaceparm nolightmap
163         surfaceparm nodlight
164         surfaceparm trans
165         surfaceparm nomarks
166         surfaceparm noimpact
167         cull none
168         deformVertexes autosprite2
169         {
170         map textures/effects_lightning/lightning1/3.tga
171         blendfunc add
172         }
173 }
174 textures/map_lightspeed/lightning2
175 {
176         qer_editorimage textures/effects_lightning/lightning1/4.tga
177         surfaceparm nolightmap
178         surfaceparm nodlight
179         surfaceparm trans
180         surfaceparm nomarks
181         surfaceparm noimpact
182         cull none
183         deformVertexes autosprite2
184         {
185         map textures/effects_lightning/lightning1/4.tga
186         blendfunc add
187         }
188 }
189
190 textures/map_lightspeed/lightning3
191 {
192         qer_editorimage textures/effects_lightning/lightning1/9.tga
193         surfaceparm nolightmap
194         surfaceparm nodlight
195         surfaceparm trans
196         surfaceparm nomarks
197         surfaceparm noimpact
198         cull none
199         deformVertexes autosprite2
200         {
201         map textures/effects_lightning/lightning1/9.tga
202         blendfunc add
203         }
204 }
205
206 textures/map_lightspeed/lightning4
207 {
208         qer_editorimage textures/effects_lightning/lightning1/10.tga
209         surfaceparm nolightmap
210         surfaceparm nodlight
211         surfaceparm trans
212         surfaceparm nomarks
213         surfaceparm noimpact
214         cull none
215         deformVertexes autosprite2
216         {
217         map textures/effects_lightning/lightning1/10.tga
218         blendfunc add
219         }
220 }
221