Line | |
---|
1 |
|
---|
2 | material Examples/GrassFloor
|
---|
3 | {
|
---|
4 | technique
|
---|
5 | {
|
---|
6 | pass
|
---|
7 | {
|
---|
8 | texture_unit
|
---|
9 | {
|
---|
10 | texture grass2.tga
|
---|
11 | scale 0.5 0.5
|
---|
12 | }
|
---|
13 | }
|
---|
14 | }
|
---|
15 | }
|
---|
16 |
|
---|
17 | material Examples/GrassBlades
|
---|
18 | {
|
---|
19 | lod_distances 800
|
---|
20 |
|
---|
21 | technique
|
---|
22 | {
|
---|
23 | lod_index 0
|
---|
24 | pass
|
---|
25 | {
|
---|
26 | alpha_rejection greater 150
|
---|
27 | scene_blend alpha_blend
|
---|
28 | depth_write off
|
---|
29 | cull_hardware none
|
---|
30 | cull_software none
|
---|
31 |
|
---|
32 | texture_unit
|
---|
33 | {
|
---|
34 | texture little-grass.tga
|
---|
35 | //filtering trilinear
|
---|
36 | filtering none
|
---|
37 | }
|
---|
38 | }
|
---|
39 | }
|
---|
40 |
|
---|
41 |
|
---|
42 | technique
|
---|
43 | {
|
---|
44 | lod_index 1
|
---|
45 | pass
|
---|
46 | {
|
---|
47 | alpha_rejection greater 150
|
---|
48 | scene_blend alpha_blend
|
---|
49 | depth_write off
|
---|
50 | cull_hardware none
|
---|
51 | cull_software none
|
---|
52 |
|
---|
53 | texture_unit
|
---|
54 | {
|
---|
55 | texture little-grass.tga
|
---|
56 | filtering none
|
---|
57 | }
|
---|
58 | }
|
---|
59 | }
|
---|
60 | }
|
---|
61 |
|
---|
62 | material Examples/Rockwall
|
---|
63 | {
|
---|
64 | technique
|
---|
65 | {
|
---|
66 | pass
|
---|
67 | {
|
---|
68 | texture_unit
|
---|
69 | {
|
---|
70 | texture rockwall.tga
|
---|
71 | }
|
---|
72 | }
|
---|
73 | }
|
---|
74 | }
|
---|
75 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.