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