Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

improved glow effects

  • Property svn:eol-style set to native
File size: 3.2 KB
RevLine 
[5313]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                        {
[7369]17                                texture flare.png
[5313]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
[10593]32                       
[5313]33
34                        texture_unit
35                        {
[7369]36                                texture flare.png
[5313]37                        }
38                }
39        }
40}
41
[10593]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
[5313]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                        {
[7369]72                                texture ring_flare.png
[5313]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                        {
[7369]90                                texture ring_flare2.png
[5313]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                        {
[7369]108                                texture flaretrail.png
[5313]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
[11088]123                        emissive 1 1 1
[5313]124
125                        texture_unit
126                        {
[7369]127                                texture backlightflare.png
[5313]128                        }
129                }
130        }
[11084]131
132        technique
133        {
134                scheme glow
135                pass
136                {
[11088]137                        lighting off
138                        scene_blend add
139                        depth_write off
140                        emissive 1 1 1
141
[11084]142                        texture_unit
143                        {
144                                texture backlightflare_glow.png
145                        }
146                }
147        }
[5313]148}
149
150material Flares/ThrusterFlare1
151{
152        technique
153        {
154                pass
155                {
156                        lighting off
157                        scene_blend add
158                        depth_write off
[11088]159                        emissive 1 1 1
[5313]160
161                        texture_unit
162                        {
[7369]163                                texture bigflare1.png
[5313]164                        }
165                }
166        }
[11084]167
168        technique
169        {
170                scheme glow
171                pass
172                {
[11088]173                        lighting off
174                        scene_blend add
175                        depth_write off
176                        emissive 1 1 1
177
[11084]178                        texture_unit
179                        {
180                                texture bigflare1_glow.png
181                        }
182                }
183        }
[5313]184}
[5502]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                        {
[7369]198                                texture LightningBall_1.png
[5502]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                        {
[7369]216                                texture LightningBall_2.png
[5502]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                        {
[7369]234                                texture LightningBall_3.png
[5502]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                        {
[7369]252                                texture LightningBall_4.png
[5502]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                        {
[7369]270                                texture LightningBall_5.png
[5502]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                        {
[7369]288                                texture LightningBall_6.png
[5502]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                        {
[7369]306                                texture LightningBall_7.png
[5502]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                        {
[7369]324                                texture LightningBall_8.png
[5502]325                        }
326                }
327        }
328}
Note: See TracBrowser for help on using the repository browser.