source:
data/branches/Shader_HS18/materials/Flares.material
@
12140
| Last change on this file since 12140 was 12115, checked in by wiesep, 7 years ago | |
|---|---|
|
|
| File size: 4.0 KB | |
| Rev | Line | |
|---|---|---|
| [12115] | 1 | material Examples/Flare |
| 2 | { | |
| 3 | technique | |
| 4 | { | |
| 5 | pass | |
| 6 | { | |
| 7 | lighting off | |
| 8 | scene_blend add | |
| 9 | depth_write off | |
| 10 | ||
| 11 | texture_unit | |
| 12 | { | |
| 13 | texture flare.png | |
| 14 | } | |
| 15 | } | |
| 16 | } | |
| 17 | ||
| 18 | technique | |
| 19 | { | |
| 20 | scheme glow | |
| 21 | pass | |
| 22 | { | |
| 23 | lighting off | |
| 24 | scene_blend add | |
| 25 | depth_write off | |
| 26 | ||
| 27 | texture_unit | |
| 28 | { | |
| 29 | texture flare.png | |
| 30 | } | |
| 31 | } | |
| 32 | } | |
| 33 | } | |
| [5313] | 34 | material Flares/point_lensflare |
| 35 | { | |
| 36 | technique | |
| 37 | { | |
| 38 | pass | |
| 39 | { | |
| 40 | lighting off | |
| 41 | depth_write off | |
| 42 | scene_blend add | |
| 43 | ||
| 44 | point_sprites on | |
| 45 | point_size 0.1 | |
| 46 | point_size_attenuation on | |
| 47 | ||
| 48 | texture_unit | |
| 49 | { | |
| [7369] | 50 | texture flare.png |
| [5313] | 51 | } |
| 52 | } | |
| 53 | } | |
| 54 | } | |
| 55 | ||
| 56 | material Flares/lensflare | |
| 57 | { | |
| 58 | technique | |
| 59 | { | |
| 60 | pass | |
| 61 | { | |
| 62 | lighting off | |
| 63 | depth_write off | |
| 64 | scene_blend add | |
| [10593] | 65 | |
| [5313] | 66 | |
| 67 | texture_unit | |
| 68 | { | |
| [7369] | 69 | texture flare.png |
| [5313] | 70 | } |
| 71 | } | |
| 72 | } | |
| 73 | } | |
| 74 | ||
| [10593] | 75 | material Flares/energyflare |
| 76 | { | |
| 77 | technique | |
| 78 | { | |
| 79 | pass | |
| 80 | { | |
| 81 | lighting on | |
| 82 | depth_write off | |
| 83 | scene_blend add | |
| 84 | ||
| 85 | texture_unit | |
| 86 | { | |
| 87 | texture flare_energy.png | |
| 88 | } | |
| 89 | } | |
| 90 | } | |
| 91 | } | |
| 92 | ||
| [5313] | 93 | material Flares/ringflare |
| 94 | { | |
| 95 | technique | |
| 96 | { | |
| 97 | pass | |
| 98 | { | |
| 99 | lighting off | |
| 100 | depth_write off | |
| 101 | scene_blend add | |
| 102 | ||
| 103 | texture_unit | |
| 104 | { | |
| [7369] | 105 | texture ring_flare.png |
| [5313] | 106 | } |
| 107 | } | |
| 108 | } | |
| 109 | } | |
| 110 | ||
| 111 | material Flares/ringflare2 | |
| 112 | { | |
| 113 | technique | |
| 114 | { | |
| 115 | pass | |
| 116 | { | |
| 117 | lighting off | |
| 118 | depth_write off | |
| 119 | scene_blend add | |
| 120 | ||
| 121 | texture_unit | |
| 122 | { | |
| [7369] | 123 | texture ring_flare2.png |
| [5313] | 124 | } |
| 125 | } | |
| 126 | } | |
| 127 | } | |
| 128 | ||
| 129 | material Flares/Flare | |
| 130 | { | |
| 131 | technique | |
| 132 | { | |
| 133 | pass | |
| 134 | { | |
| 135 | lighting off | |
| 136 | scene_blend add | |
| 137 | depth_write off | |
| 138 | ||
| 139 | texture_unit | |
| 140 | { | |
| [7369] | 141 | texture flaretrail.png |
| [5313] | 142 | } |
| 143 | } | |
| 144 | } | |
| 145 | } | |
| 146 | ||
| 147 | material Flares/backlightflare | |
| 148 | { | |
| 149 | technique | |
| 150 | { | |
| 151 | pass | |
| 152 | { | |
| 153 | lighting off | |
| 154 | scene_blend add | |
| 155 | depth_write off | |
| [11088] | 156 | emissive 1 1 1 |
| [5313] | 157 | |
| 158 | texture_unit | |
| 159 | { | |
| [7369] | 160 | texture backlightflare.png |
| [5313] | 161 | } |
| 162 | } | |
| 163 | } | |
| [11084] | 164 | |
| 165 | technique | |
| 166 | { | |
| 167 | scheme glow | |
| 168 | pass | |
| 169 | { | |
| [11088] | 170 | lighting off |
| 171 | scene_blend add | |
| 172 | depth_write off | |
| 173 | emissive 1 1 1 | |
| 174 | ||
| [11084] | 175 | texture_unit |
| 176 | { | |
| 177 | texture backlightflare_glow.png | |
| 178 | } | |
| 179 | } | |
| 180 | } | |
| [5313] | 181 | } |
| 182 | ||
| 183 | material Flares/ThrusterFlare1 | |
| 184 | { | |
| 185 | technique | |
| 186 | { | |
| 187 | pass | |
| 188 | { | |
| 189 | lighting off | |
| 190 | scene_blend add | |
| 191 | depth_write off | |
| [11088] | 192 | emissive 1 1 1 |
| [5313] | 193 | |
| 194 | texture_unit | |
| 195 | { | |
| [7369] | 196 | texture bigflare1.png |
| [5313] | 197 | } |
| 198 | } | |
| 199 | } | |
| [11084] | 200 | |
| 201 | technique | |
| 202 | { | |
| 203 | scheme glow | |
| 204 | pass | |
| 205 | { | |
| [11088] | 206 | lighting off |
| 207 | scene_blend add | |
| 208 | depth_write off | |
| 209 | emissive 1 1 1 | |
| 210 | ||
| [11084] | 211 | texture_unit |
| 212 | { | |
| 213 | texture bigflare1_glow.png | |
| 214 | } | |
| 215 | } | |
| 216 | } | |
| [5313] | 217 | } |
| [5502] | 218 | |
| 219 | material Flares/LightningBall_1 | |
| 220 | { | |
| 221 | technique | |
| 222 | { | |
| 223 | pass | |
| 224 | { | |
| 225 | lighting off | |
| 226 | scene_blend add | |
| 227 | depth_write off | |
| 228 | ||
| 229 | texture_unit | |
| 230 | { | |
| [7369] | 231 | texture LightningBall_1.png |
| [5502] | 232 | } |
| 233 | } | |
| 234 | } | |
| 235 | } | |
| 236 | ||
| 237 | material Flares/LightningBall_2 | |
| 238 | { | |
| 239 | technique | |
| 240 | { | |
| 241 | pass | |
| 242 | { | |
| 243 | lighting off | |
| 244 | scene_blend add | |
| 245 | depth_write off | |
| 246 | ||
| 247 | texture_unit | |
| 248 | { | |
| [7369] | 249 | texture LightningBall_2.png |
| [5502] | 250 | } |
| 251 | } | |
| 252 | } | |
| 253 | } | |
| 254 | ||
| 255 | material Flares/LightningBall_3 | |
| 256 | { | |
| 257 | technique | |
| 258 | { | |
| 259 | pass | |
| 260 | { | |
| 261 | lighting off | |
| 262 | scene_blend add | |
| 263 | depth_write off | |
| 264 | ||
| 265 | texture_unit | |
| 266 | { | |
| [7369] | 267 | texture LightningBall_3.png |
| [5502] | 268 | } |
| 269 | } | |
| 270 | } | |
| 271 | } | |
| 272 | ||
| 273 | material Flares/LightningBall_4 | |
| 274 | { | |
| 275 | technique | |
| 276 | { | |
| 277 | pass | |
| 278 | { | |
| 279 | lighting off | |
| 280 | scene_blend add | |
| 281 | depth_write off | |
| 282 | ||
| 283 | texture_unit | |
| 284 | { | |
| [7369] | 285 | texture LightningBall_4.png |
| [5502] | 286 | } |
| 287 | } | |
| 288 | } | |
| 289 | } | |
| 290 | ||
| 291 | material Flares/LightningBall_5 | |
| 292 | { | |
| 293 | technique | |
| 294 | { | |
| 295 | pass | |
| 296 | { | |
| 297 | lighting off | |
| 298 | scene_blend add | |
| 299 | depth_write off | |
| 300 | ||
| 301 | texture_unit | |
| 302 | { | |
| [7369] | 303 | texture LightningBall_5.png |
| [5502] | 304 | } |
| 305 | } | |
| 306 | } | |
| 307 | } | |
| 308 | ||
| 309 | material Flares/LightningBall_6 | |
| 310 | { | |
| 311 | technique | |
| 312 | { | |
| 313 | pass | |
| 314 | { | |
| 315 | lighting off | |
| 316 | scene_blend add | |
| 317 | depth_write off | |
| 318 | ||
| 319 | texture_unit | |
| 320 | { | |
| [7369] | 321 | texture LightningBall_6.png |
| [5502] | 322 | } |
| 323 | } | |
| 324 | } | |
| 325 | } | |
| 326 | ||
| 327 | material Flares/LightningBall_7 | |
| 328 | { | |
| 329 | technique | |
| 330 | { | |
| 331 | pass | |
| 332 | { | |
| 333 | lighting off | |
| 334 | scene_blend add | |
| 335 | depth_write off | |
| 336 | ||
| 337 | texture_unit | |
| 338 | { | |
| [7369] | 339 | texture LightningBall_7.png |
| [5502] | 340 | } |
| 341 | } | |
| 342 | } | |
| 343 | } | |
| 344 | ||
| 345 | material Flares/LightningBall_8 | |
| 346 | { | |
| 347 | technique | |
| 348 | { | |
| 349 | pass | |
| 350 | { | |
| 351 | lighting off | |
| 352 | scene_blend add | |
| 353 | depth_write off | |
| 354 | ||
| 355 | texture_unit | |
| 356 | { | |
| [7369] | 357 | texture LightningBall_8.png |
| [5502] | 358 | } |
| 359 | } | |
| 360 | } | |
| 361 | } |
Note: See TracBrowser
for help on using the repository browser.










