Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/trunk/materials/lensflare.material @ 9463

Last change on this file since 9463 was 9463, checked in by davidsa, 11 years ago

updated lensflare.material and textures

File size: 2.5 KB
Line 
1material lensflare/halo1
2 {
3    technique
4    {
5        pass
6        {
7            lighting off
8            scene_blend src_alpha dest_alpha
9            depth_write off
10            depth_check off
11 
12            cull_hardware none
13            cull_software none
14 
15            texture_unit
16            {
17                tex_address_mode clamp
18                texture lensflare-halo1.png
19            }
20        }
21    }
22 }
23
24material 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 }
46
47material 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
64                texture lensflare-halo1.png
65            }
66        }
67    }
68 }
69
70material lensflare/bursthalo
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-bursthalo.png
88            }
89        }
90    }
91 }
92
93
94 material lensflare/burst
95 {
96    technique
97    {
98        pass
99        {
100            lighting off
101            scene_blend src_alpha dest_alpha
102            depth_write off
103 
104            cull_hardware none
105            cull_software none
106 
107            texture_unit
108            {
109                tex_address_mode clamp
110                texture lensflare-burst.png
111            }
112        }
113    }
114 }
115
116//this material is fully transparent, it's only use is to calculate obscured pixels with HOQ
117 material lensflare/hoq
118 {
119    technique
120    {
121        pass
122        {
123            lighting off
124            scene_blend src_alpha dest_alpha
125            depth_write off
126 
127            cull_hardware none
128            cull_software none
129 
130            texture_unit
131            {
132                tex_address_mode clamp
133                texture lensflare-hoq.png
134            }
135        }
136    }
137 }
Note: See TracBrowser for help on using the repository browser.