Line | |
---|
1 | material GameTools/Standard
|
---|
2 | {
|
---|
3 | technique
|
---|
4 | {
|
---|
5 | pass
|
---|
6 | {
|
---|
7 | ambient 0.1 0.11 0.15
|
---|
8 | diffuse 0.8 0.9 1.0
|
---|
9 | }
|
---|
10 | }
|
---|
11 | }
|
---|
12 |
|
---|
13 | material Flare
|
---|
14 | {
|
---|
15 | technique
|
---|
16 | {
|
---|
17 | pass
|
---|
18 | {
|
---|
19 | //cull_hardware none
|
---|
20 | lighting off
|
---|
21 | scene_blend add
|
---|
22 | //scene_blend_op add
|
---|
23 | //scene_blend_op_alpha add
|
---|
24 | //scene_blend_alpha add
|
---|
25 | //depth_check off
|
---|
26 | depth_write off
|
---|
27 |
|
---|
28 | texture_unit
|
---|
29 | {
|
---|
30 | texture flare.png
|
---|
31 | }
|
---|
32 | }
|
---|
33 | }
|
---|
34 | }
|
---|
35 |
|
---|
36 |
|
---|
37 | material Examples/EveningSkyBox
|
---|
38 | {
|
---|
39 | technique
|
---|
40 | {
|
---|
41 | pass
|
---|
42 | {
|
---|
43 | lighting off
|
---|
44 | depth_write off
|
---|
45 |
|
---|
46 | texture_unit
|
---|
47 | {
|
---|
48 | cubic_texture morning.jpg separateUV
|
---|
49 | tex_address_mode clamp
|
---|
50 | }
|
---|
51 | }
|
---|
52 | }
|
---|
53 | }
|
---|
54 |
|
---|
55 | material Examples/MorningSkyBox
|
---|
56 | {
|
---|
57 | technique
|
---|
58 | {
|
---|
59 | pass
|
---|
60 | {
|
---|
61 | vertex_program_ref GTP/Basic/PlainTex_VS
|
---|
62 | {
|
---|
63 | param_named_auto WorldViewProj worldviewproj_matrix
|
---|
64 | }
|
---|
65 | fragment_program_ref GTP/Basic/PlainTex2DColored_PS
|
---|
66 | {
|
---|
67 | param_named color float4 10 10 10 1
|
---|
68 | }
|
---|
69 | depth_write off
|
---|
70 | texture_unit
|
---|
71 | {
|
---|
72 | cubic_texture Forest.dds separateUV
|
---|
73 | //cubic_texture morning.jpg separateUV
|
---|
74 | tex_address_mode clamp
|
---|
75 | }
|
---|
76 | }
|
---|
77 | }
|
---|
78 | }
|
---|
79 |
|
---|
80 | material GameTools/Rockwall
|
---|
81 | {
|
---|
82 | technique
|
---|
83 | {
|
---|
84 | pass
|
---|
85 | {
|
---|
86 | lighting off
|
---|
87 | texture_unit
|
---|
88 | {
|
---|
89 | texture rockwall.tga
|
---|
90 | //env_map cubic_normal
|
---|
91 | //vertex_texture true
|
---|
92 | }
|
---|
93 | }
|
---|
94 | }
|
---|
95 | }
|
---|
96 |
|
---|
97 | material TestPlane
|
---|
98 | {
|
---|
99 | technique
|
---|
100 | {
|
---|
101 | pass
|
---|
102 | {
|
---|
103 | IllumTechniques
|
---|
104 | {
|
---|
105 | RenderTechnique CausticReceiver
|
---|
106 | {
|
---|
107 | max_caster_count 10
|
---|
108 | }
|
---|
109 | //RenderTechnique DepthShadowReceiver
|
---|
110 | //{
|
---|
111 |
|
---|
112 | //}
|
---|
113 | }
|
---|
114 | texture_unit
|
---|
115 | {
|
---|
116 | texture rockWall.tga
|
---|
117 | }
|
---|
118 |
|
---|
119 | }
|
---|
120 | }
|
---|
121 | }
|
---|
122 |
|
---|
123 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.