source:
data/trunk/materials/lensflare.material
@
10336
Last change on this file since 10336 was 9509, checked in by davidsa, 12 years ago | |
---|---|
File size: 4.1 KB |
Rev | Line | |
---|---|---|
[9463] | 1 | material lensflare/halo1 |
[9447] | 2 | { |
3 | technique | |
4 | { | |
5 | pass | |
6 | { | |
7 | lighting off | |
8 | scene_blend src_alpha dest_alpha | |
9 | depth_write off | |
[9463] | 10 | depth_check off |
[9447] | 11 | |
12 | cull_hardware none | |
13 | cull_software none | |
14 | ||
15 | texture_unit | |
16 | { | |
17 | tex_address_mode clamp | |
[9463] | 18 | texture lensflare-halo1.png |
[9447] | 19 | } |
20 | } | |
21 | } | |
22 | } | |
23 | ||
[9463] | 24 | material lensflare/halo2 |
25 | { | |
26 | technique | |
27 | { | |
28 | pass | |
29 | { | |
30 | lighting off | |
31 | scene_blend src_alpha dest_alpha | |
32 | depth_write off | |
33 | depth_check off | |
34 | ||
35 | cull_hardware none | |
36 | cull_software none | |
37 | ||
38 | texture_unit | |
39 | { | |
40 | tex_address_mode clamp | |
41 | texture lensflare-halo2.png | |
42 | } | |
43 | } | |
44 | } | |
45 | } | |
[9447] | 46 | |
[9463] | 47 | material lensflare/halo3 |
48 | { | |
49 | technique | |
50 | { | |
51 | pass | |
52 | { | |
53 | lighting off | |
54 | scene_blend src_alpha dest_alpha | |
55 | depth_write off | |
56 | depth_check off | |
57 | ||
58 | cull_hardware none | |
59 | cull_software none | |
60 | ||
61 | texture_unit | |
62 | { | |
63 | tex_address_mode clamp | |
[9509] | 64 | texture lensflare-halo3.png |
[9463] | 65 | } |
66 | } | |
67 | } | |
68 | } | |
69 | ||
[9509] | 70 | material lensflare/halo4 |
71 | { | |
72 | technique | |
73 | { | |
74 | pass | |
75 | { | |
76 | lighting off | |
77 | scene_blend src_alpha dest_alpha | |
78 | depth_write off | |
79 | depth_check off | |
80 | ||
81 | cull_hardware none | |
82 | cull_software none | |
83 | ||
84 | texture_unit | |
85 | { | |
86 | tex_address_mode clamp | |
87 | texture lensflare-halo4.png | |
88 | } | |
89 | } | |
90 | } | |
91 | } | |
92 | ||
93 | material lensflare/halo5 | |
94 | { | |
95 | technique | |
96 | { | |
97 | pass | |
98 | { | |
99 | lighting off | |
100 | scene_blend src_alpha dest_alpha | |
101 | depth_write off | |
102 | depth_check off | |
103 | ||
104 | cull_hardware none | |
105 | cull_software none | |
106 | ||
107 | texture_unit | |
108 | { | |
109 | tex_address_mode clamp | |
110 | texture lensflare-halo5.png | |
111 | } | |
112 | } | |
113 | } | |
114 | } | |
115 | ||
116 | material lensflare/iris | |
117 | { | |
118 | technique | |
119 | { | |
120 | pass | |
121 | { | |
122 | lighting off | |
123 | scene_blend src_alpha dest_alpha | |
124 | depth_write off | |
125 | depth_check off | |
126 | ||
127 | cull_hardware none | |
128 | cull_software none | |
129 | ||
130 | texture_unit | |
131 | { | |
132 | tex_address_mode clamp | |
133 | texture lensflare-iris.png | |
134 | } | |
135 | } | |
136 | } | |
137 | } | |
138 | ||
139 | material lensflare/ring | |
140 | { | |
141 | technique | |
142 | { | |
143 | pass | |
144 | { | |
145 | lighting off | |
146 | scene_blend src_alpha dest_alpha | |
147 | depth_write off | |
148 | depth_check off | |
149 | ||
150 | cull_hardware none | |
151 | cull_software none | |
152 | ||
153 | texture_unit | |
154 | { | |
155 | tex_address_mode clamp | |
156 | texture lensflare-ring.png | |
157 | } | |
158 | } | |
159 | } | |
160 | } | |
161 | ||
[9463] | 162 | material lensflare/bursthalo |
163 | { | |
164 | technique | |
165 | { | |
166 | pass | |
167 | { | |
168 | lighting off | |
169 | scene_blend src_alpha dest_alpha | |
170 | depth_write off | |
171 | depth_check off | |
172 | ||
173 | cull_hardware none | |
174 | cull_software none | |
175 | ||
176 | texture_unit | |
177 | { | |
178 | tex_address_mode clamp | |
179 | texture lensflare-bursthalo.png | |
180 | } | |
181 | } | |
182 | } | |
183 | } | |
184 | ||
185 | ||
[9447] | 186 | material lensflare/burst |
187 | { | |
188 | technique | |
189 | { | |
190 | pass | |
191 | { | |
192 | lighting off | |
193 | scene_blend src_alpha dest_alpha | |
194 | depth_write off | |
195 | ||
196 | cull_hardware none | |
197 | cull_software none | |
198 | ||
199 | texture_unit | |
200 | { | |
201 | tex_address_mode clamp | |
202 | texture lensflare-burst.png | |
203 | } | |
204 | } | |
205 | } | |
[9449] | 206 | } |
207 | ||
208 | //this material is fully transparent, it's only use is to calculate obscured pixels with HOQ | |
209 | material lensflare/hoq | |
210 | { | |
211 | technique | |
212 | { | |
213 | pass | |
214 | { | |
215 | lighting off | |
216 | scene_blend src_alpha dest_alpha | |
217 | depth_write off | |
218 | ||
219 | cull_hardware none | |
220 | cull_software none | |
221 | ||
222 | texture_unit | |
223 | { | |
224 | tex_address_mode clamp | |
225 | texture lensflare-hoq.png | |
226 | } | |
227 | } | |
228 | } | |
229 | } |
Note: See TracBrowser
for help on using the repository browser.