]> icculus.org git repositories - divverent/nexuiz.git/blob - data/scripts/stralenex1.shader
stralenex1.shader: fix a green light for nexdm14
[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                 blendFunc GL_DST_COLOR GL_ZERO\r
49                 rgbGen identity\r
50         }\r
51         {\r
52                 map $lightmap \r
53                 blendfunc filter\r
54                 tcGen lightmap \r
55         }\r
56         {\r
57                 map textures/evil8_lights/e8tinylightblue.blend.tga\r
58                 blendfunc add\r
59         }\r
60 }\r
61 \r
62 textures/stralenex1/light_tube_green\r
63 {        \r
64         qer_editorimage textures/stralenex1/light_tube_green.tga\r
65         q3map_lightimage textures/stralenex1/light_tube_green_glow.tga \r
66         q3map_surfacelight 1000 \r
67         {\r
68                 map textures/stralenex1/light_tube_green.tga \r
69                 //blendfunc add \r
70        tcmod scale 12 1  \r
71                 //rgbGen identity \r
72 \r
73         \r
74         }\r
75\r
76 \r
77 \r
78 textures/stralenex1/e8_bluestrip\r
79 {\r
80         surfaceparm nolightmap\r
81         surfaceparm nomarks\r
82         surfaceparm trans\r
83         {\r
84                 map textures/stralenex1/e8_bluestrip.tga\r
85                 blendfunc add\r
86                 rgbGen identity\r
87         }\r
88 }\r
89 \r
90 textures/stralenex1/e8_redstrip\r
91 {\r
92         surfaceparm nolightmap\r
93         surfaceparm nomarks\r
94         surfaceparm trans\r
95         {\r
96                 map textures/stralenex1/e8_redstrip.tga\r
97                 blendfunc add\r
98                 rgbGen identity\r
99         }\r
100 }\r
101 \r
102 textures/stralenex1/stralenex5_water\r
103\r
104         qer_editorimage textures/stralenex1/stralenex5_water.tga\r
105       qer_trans 0.5\r
106         \r
107         surfaceparm trans\r
108         surfaceparm nonsolid\r
109       surfaceparm water\r
110         \r
111         deformVertexes wave 150.0 sin 2 5 0.25 0.1\r
112         Q3map_TessSize 128\r
113         cull none\r
114 \r
115       {\r
116                 map textures/stralenex1/stralenex5_water.tga\r
117             blendFunc add\r
118             rgbGen identity\r
119         }\r
120 }\r
121 \r
122 textures/stralenex1/e6xrst_supprt\r
123 {\r
124         qer_editorimage textures/stralenex1/e6xrst_supprt.tga\r
125         surfaceparm nomarks\r
126         surfaceparm trans\r
127         cull none\r
128         nopicmip\r
129         {\r
130                 map textures/stralenex1/e6xrst_supprt.tga\r
131                 rgbGen identity\r
132                 depthWrite\r
133                 alphaFunc GE128\r
134         }\r
135         {\r
136                 map $lightmap \r
137                 blendfunc filter\r
138                 rgbGen identity\r
139                 tcGen lightmap \r
140                 depthFunc equal\r
141         }\r
142 }\r
143 \r
144 \r
145 textures/stralenex1/strale_grey_box\r
146 {\r
147         qer_editorimage env/strale_grey/ygrey_up.tga\r
148 \r
149         surfaceparm nolightmap\r
150         surfaceparm noimpact\r
151         surfaceparm nomarks\r
152         surfaceparm sky\r
153 \r
154         skyparms env/strale_grey/ygrey - -\r
155         q3map_surfacelight 60\r
156         q3map_lightimage textures/strale_grey/ygrey_up.tga\r
157         q3map_sun .9 .9 1 70 65 78\r
158 \r
159 }\r
160 \r
161 textures/stralenex1/strale_brown_box\r
162 {\r
163         qer_editorimage env/strale_grey/ygrey_up.tga\r
164 \r
165         surfaceparm nolightmap\r
166         surfaceparm noimpact\r
167         surfaceparm nomarks\r
168         surfaceparm sky\r
169 \r
170         skyparms env/strale_grey/ygrey - -\r
171         q3map_surfacelight 100\r
172         q3map_lightimage textures/strale_grey/ygrey_up.tga\r
173         q3map_sun .75 .65 .6 130 255 80\r
174 \r
175 }\r
176 \r
177 textures/stralenex1/greennebula\r
178 {\r
179         qer_editorimage env/stralenex5/greennebula_bk.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/greennebula - -\r
187         q3map_surfacelight 80\r
188         q3map_lightimage textures/stralenex5/stralenex5_up.tga\r
189         q3map_sun 0.3 0.33 0.3 60 80 20\r
190         /*q3map_sun <red> <green> <blue> <intensity> <degrees> <elevation>*/\r
191 \r
192 }\r
193 \r
194 textures/stralenex1/stralenex5\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 60\r
205         q3map_lightimage textures/stralenex5/stralenex5_up.tga\r
206         q3map_sun .627 .525 0.392 60 300 40\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 }