Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/trunk/materials/Flares.material @ 11088

Last change on this file since 11088 was 11088, checked in by landauf, 8 years ago

improved glow effects

  • Property svn:eol-style set to native
File size: 3.2 KB
Line 
1material Flares/point_lensflare
2{
3        technique
4        {
5                pass
6                {
7                        lighting off
8                        depth_write off
9                        scene_blend add
10
11                        point_sprites on
12                        point_size 0.1
13                        point_size_attenuation on
14
15                        texture_unit
16                        {
17                                texture flare.png
18                        }
19                }
20        }
21}
22
23material Flares/lensflare
24{
25        technique
26        {
27                pass
28                {
29                        lighting off
30                        depth_write off
31                        scene_blend add
32                       
33
34                        texture_unit
35                        {
36                                texture flare.png
37                        }
38                }
39        }
40}
41
42material Flares/energyflare
43{
44        technique
45        {
46                pass
47                {
48                        lighting on
49                        depth_write off
50                        scene_blend add
51
52                        texture_unit
53                        {
54                                texture flare_energy.png
55                        }
56                }
57        }
58}
59
60material Flares/ringflare
61{
62        technique
63        {
64                pass
65                {
66                        lighting off
67                        depth_write off
68                        scene_blend add
69
70                        texture_unit
71                        {
72                                texture ring_flare.png
73                        }
74                }
75        }
76}
77
78material Flares/ringflare2
79{
80        technique
81        {
82                pass
83                {
84                        lighting off
85                        depth_write off
86                        scene_blend add
87
88                        texture_unit
89                        {
90                                texture ring_flare2.png
91                        }
92                }
93        }
94}
95
96material Flares/Flare
97{
98        technique
99        {
100                pass
101                {
102                        lighting off
103                        scene_blend add
104                        depth_write off
105
106                        texture_unit
107                        {
108                                texture flaretrail.png
109                        }
110                }
111        }
112}
113
114material Flares/backlightflare
115{
116        technique
117        {
118                pass
119                {
120                        lighting off
121                        scene_blend add
122                        depth_write off
123                        emissive 1 1 1
124
125                        texture_unit
126                        {
127                                texture backlightflare.png
128                        }
129                }
130        }
131
132        technique
133        {
134                scheme glow
135                pass
136                {
137                        lighting off
138                        scene_blend add
139                        depth_write off
140                        emissive 1 1 1
141
142                        texture_unit
143                        {
144                                texture backlightflare_glow.png
145                        }
146                }
147        }
148}
149
150material Flares/ThrusterFlare1
151{
152        technique
153        {
154                pass
155                {
156                        lighting off
157                        scene_blend add
158                        depth_write off
159                        emissive 1 1 1
160
161                        texture_unit
162                        {
163                                texture bigflare1.png
164                        }
165                }
166        }
167
168        technique
169        {
170                scheme glow
171                pass
172                {
173                        lighting off
174                        scene_blend add
175                        depth_write off
176                        emissive 1 1 1
177
178                        texture_unit
179                        {
180                                texture bigflare1_glow.png
181                        }
182                }
183        }
184}
185
186material Flares/LightningBall_1
187{
188        technique
189        {
190                pass
191                {
192                        lighting off
193                        scene_blend add
194                        depth_write off
195
196                        texture_unit
197                        {
198                                texture LightningBall_1.png
199                        }
200                }
201        }
202}
203
204material Flares/LightningBall_2
205{
206        technique
207        {
208                pass
209                {
210                        lighting off
211                        scene_blend add
212                        depth_write off
213
214                        texture_unit
215                        {
216                                texture LightningBall_2.png
217                        }
218                }
219        }
220}
221
222material Flares/LightningBall_3
223{
224        technique
225        {
226                pass
227                {
228                        lighting off
229                        scene_blend add
230                        depth_write off
231
232                        texture_unit
233                        {
234                                texture LightningBall_3.png
235                        }
236                }
237        }
238}
239
240material Flares/LightningBall_4
241{
242        technique
243        {
244                pass
245                {
246                        lighting off
247                        scene_blend add
248                        depth_write off
249
250                        texture_unit
251                        {
252                                texture LightningBall_4.png
253                        }
254                }
255        }
256}
257
258material Flares/LightningBall_5
259{
260        technique
261        {
262                pass
263                {
264                        lighting off
265                        scene_blend add
266                        depth_write off
267
268                        texture_unit
269                        {
270                                texture LightningBall_5.png
271                        }
272                }
273        }
274}
275
276material Flares/LightningBall_6
277{
278        technique
279        {
280                pass
281                {
282                        lighting off
283                        scene_blend add
284                        depth_write off
285
286                        texture_unit
287                        {
288                                texture LightningBall_6.png
289                        }
290                }
291        }
292}
293
294material Flares/LightningBall_7
295{
296        technique
297        {
298                pass
299                {
300                        lighting off
301                        scene_blend add
302                        depth_write off
303
304                        texture_unit
305                        {
306                                texture LightningBall_7.png
307                        }
308                }
309        }
310}
311
312material Flares/LightningBall_8
313{
314        technique
315        {
316                pass
317                {
318                        lighting off
319                        scene_blend add
320                        depth_write off
321
322                        texture_unit
323                        {
324                                texture LightningBall_8.png
325                        }
326                }
327        }
328}
Note: See TracBrowser for help on using the repository browser.