source:
data/branches/png2/materials/scripts/Flares.material
@
7259
Last change on this file since 7259 was 7259, checked in by rgrieder, 14 years ago | |
---|---|
|
|
File size: 2.7 KB |
Rev | Line | |
---|---|---|
[5313] | 1 | material 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 | { | |
[7259] | 17 | texture flare.png |
[5313] | 18 | } |
19 | } | |
20 | } | |
21 | } | |
22 | ||
23 | material Flares/lensflare | |
24 | { | |
25 | technique | |
26 | { | |
27 | pass | |
28 | { | |
29 | lighting off | |
30 | depth_write off | |
31 | scene_blend add | |
32 | ||
33 | texture_unit | |
34 | { | |
[7259] | 35 | texture flare.png |
[5313] | 36 | } |
37 | } | |
38 | } | |
39 | } | |
40 | ||
41 | material Flares/ringflare | |
42 | { | |
43 | technique | |
44 | { | |
45 | pass | |
46 | { | |
47 | lighting off | |
48 | depth_write off | |
49 | scene_blend add | |
50 | ||
51 | texture_unit | |
52 | { | |
[7259] | 53 | texture ring_flare.png |
[5313] | 54 | } |
55 | } | |
56 | } | |
57 | } | |
58 | ||
59 | material Flares/ringflare2 | |
60 | { | |
61 | technique | |
62 | { | |
63 | pass | |
64 | { | |
65 | lighting off | |
66 | depth_write off | |
67 | scene_blend add | |
68 | ||
69 | texture_unit | |
70 | { | |
[7259] | 71 | texture ring_flare2.png |
[5313] | 72 | } |
73 | } | |
74 | } | |
75 | } | |
76 | ||
77 | material Flares/Flare | |
78 | { | |
79 | technique | |
80 | { | |
81 | pass | |
82 | { | |
83 | lighting off | |
84 | scene_blend add | |
85 | depth_write off | |
86 | ||
87 | texture_unit | |
88 | { | |
[7259] | 89 | texture flaretrail.png |
[5313] | 90 | } |
91 | } | |
92 | } | |
93 | } | |
94 | ||
95 | material Flares/backlightflare | |
96 | { | |
97 | technique | |
98 | { | |
99 | pass | |
100 | { | |
101 | lighting off | |
102 | scene_blend add | |
103 | depth_write off | |
104 | ||
105 | texture_unit | |
106 | { | |
[7259] | 107 | texture backlightflare.png |
[5313] | 108 | } |
109 | } | |
110 | } | |
111 | } | |
112 | ||
113 | material Flares/ThrusterFlare1 | |
114 | { | |
115 | technique | |
116 | { | |
117 | pass | |
118 | { | |
119 | lighting off | |
120 | scene_blend add | |
121 | depth_write off | |
122 | ||
123 | texture_unit | |
124 | { | |
[7259] | 125 | texture bigflare1.png |
[5313] | 126 | } |
127 | } | |
128 | } | |
129 | } | |
[5502] | 130 | |
131 | material Flares/LightningBall_1 | |
132 | { | |
133 | technique | |
134 | { | |
135 | pass | |
136 | { | |
137 | lighting off | |
138 | scene_blend add | |
139 | depth_write off | |
140 | ||
141 | texture_unit | |
142 | { | |
[7259] | 143 | texture LightningBall_1.png |
[5502] | 144 | } |
145 | } | |
146 | } | |
147 | } | |
148 | ||
149 | material Flares/LightningBall_2 | |
150 | { | |
151 | technique | |
152 | { | |
153 | pass | |
154 | { | |
155 | lighting off | |
156 | scene_blend add | |
157 | depth_write off | |
158 | ||
159 | texture_unit | |
160 | { | |
[7259] | 161 | texture LightningBall_2.png |
[5502] | 162 | } |
163 | } | |
164 | } | |
165 | } | |
166 | ||
167 | material Flares/LightningBall_3 | |
168 | { | |
169 | technique | |
170 | { | |
171 | pass | |
172 | { | |
173 | lighting off | |
174 | scene_blend add | |
175 | depth_write off | |
176 | ||
177 | texture_unit | |
178 | { | |
[7259] | 179 | texture LightningBall_3.png |
[5502] | 180 | } |
181 | } | |
182 | } | |
183 | } | |
184 | ||
185 | material Flares/LightningBall_4 | |
186 | { | |
187 | technique | |
188 | { | |
189 | pass | |
190 | { | |
191 | lighting off | |
192 | scene_blend add | |
193 | depth_write off | |
194 | ||
195 | texture_unit | |
196 | { | |
[7259] | 197 | texture LightningBall_4.png |
[5502] | 198 | } |
199 | } | |
200 | } | |
201 | } | |
202 | ||
203 | material Flares/LightningBall_5 | |
204 | { | |
205 | technique | |
206 | { | |
207 | pass | |
208 | { | |
209 | lighting off | |
210 | scene_blend add | |
211 | depth_write off | |
212 | ||
213 | texture_unit | |
214 | { | |
[7259] | 215 | texture LightningBall_5.png |
[5502] | 216 | } |
217 | } | |
218 | } | |
219 | } | |
220 | ||
221 | material Flares/LightningBall_6 | |
222 | { | |
223 | technique | |
224 | { | |
225 | pass | |
226 | { | |
227 | lighting off | |
228 | scene_blend add | |
229 | depth_write off | |
230 | ||
231 | texture_unit | |
232 | { | |
[7259] | 233 | texture LightningBall_6.png |
[5502] | 234 | } |
235 | } | |
236 | } | |
237 | } | |
238 | ||
239 | material Flares/LightningBall_7 | |
240 | { | |
241 | technique | |
242 | { | |
243 | pass | |
244 | { | |
245 | lighting off | |
246 | scene_blend add | |
247 | depth_write off | |
248 | ||
249 | texture_unit | |
250 | { | |
[7259] | 251 | texture LightningBall_7.png |
[5502] | 252 | } |
253 | } | |
254 | } | |
255 | } | |
256 | ||
257 | material Flares/LightningBall_8 | |
258 | { | |
259 | technique | |
260 | { | |
261 | pass | |
262 | { | |
263 | lighting off | |
264 | scene_blend add | |
265 | depth_write off | |
266 | ||
267 | texture_unit | |
268 | { | |
[7259] | 269 | texture LightningBall_8.png |
[5502] | 270 | } |
271 | } | |
272 | } | |
273 | } |
Note: See TracBrowser
for help on using the repository browser.