Last change
on this file since 9484 was
9463,
checked in by davidsa, 12 years ago
|
updated lensflare.material and textures
|
File size:
2.5 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 |
---|
| 64 | texture lensflare-halo1.png |
---|
| 65 | } |
---|
| 66 | } |
---|
| 67 | } |
---|
| 68 | } |
---|
| 69 | |
---|
| 70 | material 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 | |
---|
[9447] | 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 | } |
---|
[9449] | 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.