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