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