hlac fix: proper size for textures, smaller scope, reposition of 1st person view
[divverent/nexuiz.git] / data / scripts / stralenex1.shader
1 textures/evil8_lights/e8minitrimlight\r
2 {\r
3         qer_editorimage textures/evil8_lights/e8minitrimlight.tga\r
4         surfaceparm nomarks\r
5         q3map_surfacelight 1200\r
6         {\r
7                 map textures/evil8_lights/e8minitrimlight.tga\r
8         }\r
9         {\r
10                 map $lightmap \r
11                 blendfunc filter\r
12                 tcGen lightmap \r
13         }\r
14 }\r
15 textures/evil8_lights/e8tinylight2k\r
16 {\r
17         qer_editorimage textures/evil8_lights/e8tinylight.tga\r
18         q3map_lightimage textures/evil8_lights/e8tinylightcolor.tga\r
19         surfaceparm nomarks\r
20         q3map_surfacelight 2000\r
21         {\r
22                 map textures/evil8_lights/e8tinylight.tga\r
23         }\r
24         {\r
25                 map $lightmap \r
26                 blendfunc filter\r
27                 tcGen lightmap \r
28         }\r
29 }\r
30 \r
31 textures/evil8_lights/e8tinylightblue2k\r
32 {\r
33         qer_editorimage textures/evil8_lights/e8tinylightblue.tga\r
34         q3map_lightimage textures/evil8_lights/e8tinylightbluecolor.tga\r
35         surfaceparm nomarks\r
36         q3map_surfacelight 2000\r
37         {\r
38                 map textures/evil8_lights/e8tinylightblue.tga\r
39         }\r
40         {\r
41                 map $lightmap \r
42                 blendfunc filter\r
43                 tcGen lightmap \r
44         }\r
45 }\r
46 \r
47 textures/stralenex1/light_tube_green\r
48 {        \r
49         qer_editorimage textures/stralenex1/light_tube_green.tga\r
50         q3map_lightimage textures/stralenex1/light_tube_green_glow.tga \r
51         q3map_surfacelight 1000 \r
52         {\r
53                 map textures/stralenex1/light_tube_green.tga \r
54                 //blendfunc add \r
55         //tcmod scale 12 1  \r
56                 //rgbGen identity \r
57 \r
58         \r
59         }\r
60         {\r
61                 map $lightmap\r
62                 rgbGen identity\r
63         }\r
64\r
65 \r
66 \r
67 textures/stralenex1/stralenex5_water\r
68\r
69         qer_editorimage textures/stralenex1/stralenex5_water.tga\r
70       qer_trans 0.5\r
71         \r
72         surfaceparm trans\r
73         surfaceparm nonsolid\r
74       surfaceparm water\r
75         //deformVertexes wave <div> <func> <base> <amplitude> <phase> <freq>\r
76         deformVertexes wave 150.0 sin 2 0.5 0 2\r
77         Q3map_TessSize 128\r
78         cull none\r
79 \r
80       {\r
81                 map textures/stralenex1/stralenex5_water.tga\r
82             blendFunc add\r
83             rgbGen identity\r
84         }\r
85 }\r
86 \r
87 textures/stralenex1/e6xrst_supprt\r
88 {\r
89         qer_editorimage textures/stralenex1/e6xrst_supprt.tga\r
90         surfaceparm nomarks\r
91         surfaceparm trans\r
92         cull none\r
93         nopicmip\r
94         {\r
95                 map textures/stralenex1/e6xrst_supprt.tga\r
96                 rgbGen identity\r
97                 depthWrite\r
98                 //alphaFunc GE128\r
99                 blendfunc blend\r
100         }\r
101         {\r
102                 map $lightmap \r
103                 blendfunc filter\r
104                 rgbGen identity\r
105                 tcGen lightmap \r
106                 depthFunc equal\r
107         }\r
108 }\r
109 \r
110 \r
111 textures/stralenex1/strale_grey_box\r
112 {\r
113         qer_editorimage env/strale_grey/ygrey_up.tga\r
114 \r
115         surfaceparm nolightmap\r
116         surfaceparm noimpact\r
117         surfaceparm nomarks\r
118         surfaceparm sky\r
119 \r
120         skyparms env/strale_grey/ygrey - -\r
121         q3map_surfacelight 60\r
122         q3map_lightimage textures/strale_grey/ygrey_up.tga\r
123         q3map_sun .9 .9 1 70 65 78\r
124 \r
125 }\r
126 \r
127 textures/stralenex1/strale_brown_box\r
128 {\r
129         qer_editorimage env/strale_grey/ygrey_up.tga\r
130 \r
131         surfaceparm nolightmap\r
132         surfaceparm noimpact\r
133         surfaceparm nomarks\r
134         surfaceparm sky\r
135 \r
136         skyparms env/strale_grey/ygrey - -\r
137         q3map_surfacelight 100\r
138         q3map_lightimage textures/strale_grey/ygrey_up.tga\r
139         q3map_sun .75 .65 .6 130 255 80\r
140 \r
141 }\r
142 \r
143 textures/stralenex1/greennebula\r
144 {\r
145         qer_editorimage env/stralenex5/greennebula_bk.tga\r
146 \r
147         surfaceparm nolightmap\r
148         surfaceparm noimpact\r
149         surfaceparm nomarks\r
150         surfaceparm sky\r
151 \r
152         skyparms env/stralenex5/greennebula - -\r
153         q3map_surfacelight 80\r
154         q3map_lightimage textures/stralenex5/stralenex5_up.tga\r
155         q3map_sun 0.3 0.33 0.3 60 80 20\r
156         /*q3map_sun <red> <green> <blue> <intensity> <degrees> <elevation>*/\r
157 \r
158 }\r
159 \r
160 textures/stralenex1/stralenex5\r
161 {\r
162         qer_editorimage env/stralenex5/stralenex5_up.tga\r
163 \r
164         surfaceparm nolightmap\r
165         surfaceparm noimpact\r
166         surfaceparm nomarks\r
167         surfaceparm sky\r
168 \r
169         skyparms env/stralenex5/stralenex5 - -\r
170         q3map_surfacelight 60\r
171         q3map_lightimage textures/stralenex5/stralenex5_up.tga\r
172         q3map_sun .627 .525 0.392 60 300 40\r
173         /*q3map_sun <red> <green> <blue> <intensity> <degrees> <elevation>*/\r
174 \r
175 }\r
176 \r
177 textures/stralenex1/stralenex5_1\r
178 {\r
179         qer_editorimage env/stralenex5/stralenex5_up.tga\r
180 \r
181         surfaceparm nolightmap\r
182         surfaceparm noimpact\r
183         surfaceparm nomarks\r
184         surfaceparm sky\r
185 \r
186         skyparms env/stralenex5/stralenex5 - -\r
187         q3map_surfacelight 60\r
188         q3map_lightimage textures/stralenex5/stralenex5_up.tga\r
189         q3map_sun .627 .525 0.392 450 60 13\r
190         /*q3map_sun <red> <green> <blue> <intensity> <degrees> <elevation>*/\r
191 \r
192 }\r
193 \r
194 textures/stralenex1/stralenex5_2\r
195 {\r
196         qer_editorimage env/stralenex5/stralenex5_up.tga\r
197 \r
198         surfaceparm nolightmap\r
199         surfaceparm noimpact\r
200         surfaceparm nomarks\r
201         surfaceparm sky\r
202 \r
203         skyparms env/stralenex5/stralenex5 - -\r
204         q3map_surfacelight 180\r
205         q3map_lightimage textures/stralenex5/stralenex5_up.tga\r
206         q3map_sun .627 .525 0.392 450 60 13\r
207         /*q3map_sun <red> <green> <blue> <intensity> <degrees> <elevation>*/\r
208 \r
209 }\r
210 \r
211 //copied from harlequin-sky.shader\r
212 textures/harlequin_sky/strale_jf-nebula_sky\r
213 {\r
214         qer_editorimage textures/harlequin_sky/nebula_qer1.tga\r
215         surfaceparm sky\r
216         surfaceparm noimpact\r
217         surfaceparm nolightmap\r
218         surfaceparm nomarks\r
219         \r
220         skyparms textures/harlequin_sky/env/nebular - -\r
221         q3map_surfacelight 45\r
222 // note: Change the surfacelight value if you want more ambient light from the sky.\r
223         q3map_sun 0.88 .71 .71 80 0 90\r
224 // note: Change the fourth value (80) if you want a brighter or dimmer sun\r
225         \r
226 }\r
227 \r
228 textures/stralenex1/stralenex_trimlight\r
229 {\r
230         qer_editorimage textures/stralenex1/stralenex_trimlight.tga\r
231         q3map_lightimage textures/stralenex1/stralenex_trimlight_glow.tga\r
232         q3map_surfacelight 1800\r
233         surfaceparm nomarks\r
234         {\r
235                 map $lightmap\r
236                 rgbGen identity\r
237         }\r
238         {\r
239                 map textures/stralenex1/stralenex_trimlight.tga\r
240                 blendFunc GL_DST_COLOR GL_ZERO\r
241                 rgbGen identity\r
242         }\r
243         {\r
244                 map textures/stralenex1/stralenex_trimlight_glow.tga\r
245                 blendfunc GL_ONE GL_ONE\r
246                 rgbGen identityLighting\r
247         }\r
248 }\r
249 \r
250 textures/stralenex1/stralenex_roundlight\r
251 {\r
252         qer_editorimage textures/stralenex1/stralenex_roundlight.tga\r
253         q3map_lightimage textures/stralenex1/stralenex_roundlight_glow.tga\r
254         q3map_surfacelight 4000\r
255         surfaceparm nomarks\r
256         {\r
257                 map $lightmap\r
258                 rgbGen identity\r
259         }\r
260         {\r
261                 map textures/stralenex1/stralenex_roundlight.tga\r
262                 blendFunc GL_DST_COLOR GL_ZERO\r
263                 rgbGen identity\r
264         }\r
265         {\r
266                 map textures/stralenex1/stralenex_roundlight_glow.tga\r
267                 blendfunc GL_ONE GL_ONE\r
268                 rgbGen wave sin .3 .1 0 0.5\r
269         }\r
270 }\r
271 \r
272 textures/evil8_lights/e8trimlight\r
273 {\r
274         qer_editorimage textures/evil8_lights/e8trimlight.tga\r
275         q3map_lightimage textures/evil8_lights/e8trimlight_glow.tga\r
276         q3map_surfacelight 2000\r
277         surfaceparm nomarks\r
278         {\r
279                 map $lightmap\r
280                 rgbGen identity\r
281         }\r
282         {\r
283                 map textures/evil8_lights/e8trimlight.tga\r
284                 blendFunc GL_DST_COLOR GL_ZERO\r
285                 rgbGen identity\r
286         }\r
287         {\r
288                 map textures/evil8_lights/e8trimlight_glow.tga\r
289                 blendfunc GL_ONE GL_ONE\r
290                 rgbGen identityLighting\r
291         }\r
292 }\r
293 \r
294 textures/stralenex1/slimepit_ad-1\r
295 {\r
296         qer_editorimage textures/stralenex1/slimepit_ad.tga\r
297         q3map_lightimage textures/stralenex1/slimepit_ad_glow.tga\r
298         surfaceparm nomarks\r
299         q3map_surfacelight 400\r
300         \r
301         {\r
302                 map textures/stralenex1/slimepit_ad-1.tga\r
303                 animmap 1 textures/stralenex1/slimepit_ad textures/stralenex1/slimepit_ad textures/stralenex1/slimepit_ad-1 textures/stralenex1/slimepit_ad-1 textures/stralenex1/slimepit_ad-2 textures/stralenex1/slimepit_ad-2 textures/stralenex1/slimepit_ad-3 textures/stralenex1/slimepit_ad-3 textures/stralenex1/slimepit_ad-4 textures/stralenex1/slimepit_ad-4 textures/stralenex1/slimepit_ad-5 textures/stralenex1/slimepit_ad-5 textures/stralenex1/slimepit_ad-6 textures/stralenex1/slimepit_ad-6 textures/stralenex1/slimepit_ad-7 textures/stralenex1/slimepit_ad-7 textures/stralenex1/slimepit_ad-8 textures/stralenex1/slimepit_ad-8 textures/stralenex1/slimepit_ad-9 textures/stralenex1/slimepit_ad-9 textures/stralenex1/slimepit_ad-10 textures/stralenex1/slimepit_ad-11 textures/stralenex1/slimepit_ad-10 textures/stralenex1/slimepit_ad-11 textures/stralenex1/slimepit_ad-10 textures/stralenex1/slimepit_ad-11 \r
304         }\r
305         {\r
306                 map $lightmap\r
307                 blendfunc filter\r
308                 rgbGen identity\r
309                 tcGen lightmap\r
310         }\r
311 \r
312 }\r
313 \r
314 textures/stralenex1/slime_rev\r
315 {\r
316         qer_editorimage textures/stralenex1/slime_rev.tga\r
317         q3map_lightimage textures/stralenex1/slime_rev_glow.tga\r
318         surfaceparm nomarks\r
319         q3map_surfacelight 400\r
320         \r
321         {\r
322                 map textures/stralenex1/slime_rev.tga\r
323                 animmap 1 textures/stralenex1/slime_rev textures/stralenex1/slime_rev textures/stralenex1/slime_rev-1 textures/stralenex1/slime_rev-1 textures/stralenex1/slime_rev-2 textures/stralenex1/slime_rev-2 textures/stralenex1/slime_rev-3 textures/stralenex1/slime_rev-3\r
324         }\r
325         {\r
326                 map $lightmap\r
327                 blendfunc filter\r
328                 rgbGen identity\r
329                 tcGen lightmap\r
330         }\r
331 \r
332 }\r