source:
data/branches/png2/materials/scripts/planet.material
@
7259
Last change on this file since 7259 was 7259, checked in by rgrieder, 14 years ago | |
---|---|
|
|
File size: 912 bytes |
Rev | Line | |
---|---|---|
[5313] | 1 | material planet/TEXFACE/planet.jpg |
2 | { | |
3 | receive_shadows on | |
4 | technique | |
5 | { | |
6 | pass | |
7 | { | |
8 | ambient 0.500000 0.500000 0.500000 1.000000 | |
9 | diffuse 10.800000 10.800000 10.800000 1.000000 | |
10 | emissive 0.000000 0.000000 0.000000 1.000000 | |
11 | ||
12 | texture_unit | |
13 | { | |
14 | texture planet1024.jpg | |
15 | colour_op modulate | |
16 | } | |
17 | } | |
18 | pass | |
19 | { | |
20 | ambient 0.0 0.0 0.0 | |
21 | diffuse 0.0 0.0 0.0 | |
22 | specular 0.000000 0.000000 0.000000 1.000000 12.500000 | |
23 | scene_blend add | |
24 | } | |
25 | } | |
26 | } | |
27 | ||
28 | ||
29 | material planet/Atmosphere | |
30 | { | |
31 | receive_shadows on | |
32 | technique | |
33 | { | |
34 | pass | |
[5348] | 35 | { |
36 | depth_write off | |
[5313] | 37 | lighting off |
38 | scene_blend alpha_blend | |
39 | depth_check on | |
40 | ||
41 | texture_unit | |
42 | { | |
[7259] | 43 | texture atmospheretype3.png |
[5313] | 44 | } |
45 | } | |
46 | } | |
47 | } | |
48 | ||
49 | ||
[5348] | 50 | material atmosphere1 |
[5347] | 51 | { |
52 | receive_shadows on | |
53 | technique | |
54 | { | |
55 | pass | |
[5348] | 56 | { |
57 | depth_write off | |
[5347] | 58 | lighting off |
59 | scene_blend alpha_blend | |
60 | depth_check on | |
61 | ||
62 | texture_unit | |
63 | { | |
[7259] | 64 | texture atmospheretype1.png |
[5347] | 65 | } |
66 | } | |
67 | } | |
68 | } | |
[5313] | 69 | |
[5347] | 70 | |
71 |
Note: See TracBrowser
for help on using the repository browser.