]> de.git.xonotic.org Git - voretournament/voretournament.git/blob - data/scripts/evil4_lights.shader
Light cubemaps for all evil sets
[voretournament/voretournament.git] / data / scripts / evil4_lights.shader
1 textures/evil4_lights/dwtrim_llight\r
2 {\r
3         dpreflectcube cubemaps/exomorph/exomorph\r
4         {\r
5                 map textures/evil4_lights/dwtrim_llight\r
6         }\r
7         {\r
8                 map $lightmap\r
9                 blendfunc GL_DST_COLOR GL_ZERO\r
10                 rgbGen identity\r
11     }\r
12 }\r
13 \r
14 textures/evil4_lights/llight_s\r
15 {\r
16         dpreflectcube cubemaps/exomorph/exomorph\r
17         {\r
18                 map textures/evil4_lights/llight_s\r
19         }\r
20         {\r
21                 map $lightmap\r
22                 blendfunc GL_DST_COLOR GL_ZERO\r
23                 rgbGen identity\r
24     }\r
25 }\r
26 \r
27 textures/evil4_lights/steplight\r
28 {\r
29         dpreflectcube cubemaps/exomorph/exomorph\r
30         surfaceparm nomarks\r
31         q3map_surfacelight 1000\r
32         //light1\r
33         {\r
34                 map $lightmap\r
35                 rgbGen identity\r
36         }\r
37         {\r
38                 map textures/evil4_lights/steplight.tga\r
39                 blendFunc GL_DST_COLOR GL_ZERO\r
40                 rgbGen identity\r
41         }\r
42         {\r
43                 map textures/evil4_lights/steplight_glow.tga\r
44                 blendfunc GL_ONE GL_ONE\r
45         }\r
46 }\r
47 \r
48 textures/evil4_lights/drkmtlsupport_light\r
49 {\r
50         dpreflectcube cubemaps/exomorph/exomorph\r
51         surfaceparm nomarks\r
52         q3map_surfacelight 1000\r
53         {\r
54                 map $lightmap\r
55                 rgbGen identity\r
56         }\r
57         {\r
58                 map textures/evil4_lights/drkmtlsupport_light.tga\r
59                 blendFunc GL_DST_COLOR GL_ZERO\r
60                 rgbGen identity\r
61         }\r
62         {\r
63                 map textures/evil4_lights/drkmtlsupport_light_glow.tga\r
64                 rgbGen wave sin 0.5 0.5 1 .5\r
65                 blendfunc GL_ONE GL_ONE\r
66         }\r
67 }\r
68 \r
69 textures/evil4_lights/s_light\r
70 {\r
71         dpreflectcube cubemaps/exomorph/exomorph\r
72         qer_editorimage textures/evil4_lights/s_light.jpg\r
73         surfaceparm nomarks\r
74         q3map_surfacelight 2500\r
75         {\r
76                 map textures/evil4_lights/s_light.jpg\r
77                 //blendFunc GL_DST_COLOR GL_ZERO\r
78                 rgbGen identity\r
79         }\r
80         {\r
81                 map $lightmap\r
82                 rgbGen identity\r
83                 blendFunc Filter\r
84         }\r
85 }\r
86 \r
87 textures/evil4_lights/t_mtllight\r
88 {\r
89         dpreflectcube cubemaps/exomorph/exomorph\r
90         surfaceparm nomarks\r
91         q3map_surfacelight 1000\r
92         //light1\r
93         {\r
94                 map $lightmap\r
95                 rgbGen identity\r
96         }\r
97         {\r
98                 map textures/evil4_lights/t_mtllight.jpg\r
99                 blendFunc GL_DST_COLOR GL_ZERO\r
100                 rgbGen identity\r
101         }\r
102 }\r
103 \r
104 textures/evil4_lights/mtl_lightsmll\r
105 {\r
106         dpreflectcube cubemaps/exomorph/exomorph\r
107         surfaceparm nomarks\r
108         q3map_surfacelight 1000\r
109         //light1\r
110         {\r
111                 map $lightmap\r
112                 rgbGen identity\r
113         }\r
114         {\r
115                 map textures/evil4_lights/mtl_lightsmll.jpg\r
116                 blendFunc GL_DST_COLOR GL_ZERO\r
117                 rgbGen identity\r
118         }\r
119 }\r
120 \r
121 //double glowing effect light strips\r
122 \r
123 textures/evil4_lights/l_light_b\r
124 {\r
125         dpreflectcube cubemaps/exomorph/exomorph\r
126         q3map_surfacelight 5000\r
127         q3map_lightimage textures/evil4_lights/l_light_b.jpg\r
128         {\r
129                 map $lightmap\r
130                 rgbGen identity\r
131         }\r
132         {\r
133                 map textures/evil4_lights/l_light_b.jpg\r
134                 blendFunc GL_DST_COLOR GL_ZERO\r
135                 rgbGen identity\r
136         }\r
137 }\r
138 \r
139 textures/evil4_lights/l_light_g\r
140 {\r
141         dpreflectcube cubemaps/exomorph/exomorph\r
142         q3map_surfacelight 5000\r
143         q3map_lightimage textures/evil4_lights/l_light_g.jpg\r
144         {\r
145                 map $lightmap\r
146                 rgbGen identity\r
147         }\r
148         {\r
149                 map textures/evil4_lights/l_light_g.jpg\r
150                 blendFunc GL_DST_COLOR GL_ZERO\r
151                 rgbGen identity\r
152         }\r
153 }\r
154 \r
155 textures/evil4_lights/l_light_r\r
156 {\r
157         dpreflectcube cubemaps/exomorph/exomorph\r
158         q3map_surfacelight 5000\r
159         q3map_lightimage textures/evil4_lights/l_light_r.jpg\r
160         {\r
161                 map $lightmap\r
162                 rgbGen identity\r
163         }\r
164         {\r
165                 map textures/evil4_lights/l_light_r.jpg\r
166                 blendFunc GL_DST_COLOR GL_ZERO\r
167                 rgbGen identity\r
168         }\r
169 }\r
170 \r
171 textures/evil4_lights/l_light_w\r
172 {\r
173         dpreflectcube cubemaps/exomorph/exomorph\r
174         q3map_surfacelight 5000\r
175         q3map_lightimage textures/evil4_lights/l_light_w.jpg\r
176         {\r
177                 map $lightmap\r
178                 rgbGen identity\r
179         }\r
180         {\r
181                 map textures/evil4_lights/l_light_w.jpg\r
182                 blendFunc GL_DST_COLOR GL_ZERO\r
183                 rgbGen identity\r
184         }\r
185 }\r
186 \r
187 textures/evil4_lights/mtl_l1\r
188 {\r
189         dpreflectcube cubemaps/exomorph/exomorph\r
190         q3map_surfacelight 1000\r
191         q3map_lightimage textures/evil4_lights/mtl_l1.tga\r
192         // LordHavoc: replaced most of this shader\r
193         {\r
194                 map textures/evil4_lights/mtl_l1.tga\r
195         }\r
196         {\r
197                 map $lightmap\r
198                 rgbGen identity\r
199                 blendfunc filter\r
200         }\r
201         {\r
202                 map textures/evil4_lights/mtl_l1_glow.tga\r
203                 blendfunc add\r
204         }\r
205         // LordHavoc: original shader\r
206         //{\r
207         //      map textures/evil4_lights/mtl_l1_fx.tga\r
208         //      //blendfunc add\r
209         //      tcmod scale 12 1\r
210         //      rgbGen identity\r
211         //      tcMod scroll 0 1\r
212         //}\r
213         //{\r
214         //      map textures/evil4_lights/mtl_l1_fx.tga\r
215         //      blendfunc add\r
216         //      //tcmod scale 25 1\r
217         //      rgbGen identity\r
218         //      tcMod scroll 1 0\r
219         //}\r
220         //{\r
221         //      map textures/evil4_lights/mtl_l1.tga\r
222         //      blendfunc blend\r
223         //      rgbGen identity\r
224         //}\r
225         //{\r
226         //      map textures/evil4_lights/mtl_l1_glow.tga\r
227         //      blendfunc add\r
228         //      tcmod scale 1 1\r
229         //}\r
230         //{\r
231         //      map $lightmap\r
232         //      rgbGen identity\r
233         //      blendfunc filter\r
234         //}\r
235 }\r
236 \r
237 //border light\r
238 \r
239 textures/evil4_lights/trimtl_grlbtm_light\r
240 {\r
241         dpreflectcube cubemaps/exomorph/exomorph\r
242         q3map_surfacelight 5000\r
243         qer_editorimage textures/evil4_lights/trimtl_grlbtm_light.tga\r
244         {\r
245                 map textures/evil4_lights/trimtl_grlbtm_light.tga\r
246                 rgbGen identity\r
247         }\r
248         {\r
249                 map $lightmap\r
250                 rgbGen identity\r
251                 blendfunc gl_dst_color gl_zero\r
252         }\r
253 }\r
254 \r
255 textures/evil4_lights/s_bluelight\r
256 {\r
257         dpreflectcube cubemaps/exomorph/exomorph\r
258         q3map_surfacelight 1000\r
259         q3map_lightimage textures/evil4_lights/s_bluelight.tga\r
260         {\r
261                 map textures/evil4_lights/s_bluelight.tga\r
262                 rgbGen identity\r
263         }       \r
264         {\r
265                 map $lightmap\r
266                 rgbGen identity\r
267                 blendfuns filter\r
268         }\r
269 }