Line | |
---|
1 | material PRMDemo/Base
|
---|
2 | {
|
---|
3 | technique maintechnique
|
---|
4 | {
|
---|
5 | pass mainpass
|
---|
6 | {
|
---|
7 | IllumTechniques
|
---|
8 | {
|
---|
9 | RenderTechnique PathMap
|
---|
10 | {
|
---|
11 |
|
---|
12 | }
|
---|
13 | RenderTechnique DepthShadowReceiver
|
---|
14 | {
|
---|
15 | max_light_count 2
|
---|
16 | vertex_program_name GTP/Basic/LightCPos_VS
|
---|
17 | fragment_program_name GTP/Basic/SM/Dist_VSM_PS
|
---|
18 | set_light_view true
|
---|
19 | set_light_farplane true
|
---|
20 | light_viewproj_param_name LightViewProj
|
---|
21 | light_view_param_name LightView
|
---|
22 | light_farplane_param_name lightFarPlane
|
---|
23 | world_view_proj_param_name WorldViewProj
|
---|
24 | world_param_name World
|
---|
25 | }
|
---|
26 | }
|
---|
27 | vertex_program_ref GTP/Basic/ShadedTex_VS
|
---|
28 | {
|
---|
29 | param_named_auto WorldViewProj worldviewproj_matrix
|
---|
30 | param_named_auto World world_matrix
|
---|
31 | param_named_auto WorldInv inverse_world_matrix
|
---|
32 | }
|
---|
33 | fragment_program_ref GTP/Basic/Shaded/TexturedOneLight_PS
|
---|
34 | {
|
---|
35 | param_named_auto lightPos light_position 0
|
---|
36 | param_named_auto lightDir light_direction 0
|
---|
37 | param_named_auto lightColor light_diffuse_colour 0
|
---|
38 | param_named_auto lightPower light_power 0
|
---|
39 | }
|
---|
40 | texture_unit color
|
---|
41 | {
|
---|
42 | colour_op replace
|
---|
43 | }
|
---|
44 | }
|
---|
45 | }
|
---|
46 | }
|
---|
47 |
|
---|
48 |
|
---|
49 | material PRMDemo/rustyMetal : PRMDemo/Base
|
---|
50 | {
|
---|
51 | technique maintechnique
|
---|
52 | {
|
---|
53 | pass mainpass
|
---|
54 | {
|
---|
55 | texture_unit color
|
---|
56 | {
|
---|
57 | texture wrtile.jpg
|
---|
58 | }
|
---|
59 | }
|
---|
60 | }
|
---|
61 | }
|
---|
62 |
|
---|
63 | material PRMDemo/redwire : PRMDemo/Base
|
---|
64 | {
|
---|
65 | technique maintechnique
|
---|
66 | {
|
---|
67 | pass mainpass
|
---|
68 | {
|
---|
69 | texture_unit color
|
---|
70 | {
|
---|
71 | texture redwire.bmp
|
---|
72 | }
|
---|
73 | }
|
---|
74 | }
|
---|
75 | }
|
---|
76 |
|
---|
77 | material PRMDemo/greenwire : PRMDemo/Base
|
---|
78 | {
|
---|
79 | technique maintechnique
|
---|
80 | {
|
---|
81 | pass mainpass
|
---|
82 | {
|
---|
83 | texture_unit color
|
---|
84 | {
|
---|
85 | texture greenwire.bmp
|
---|
86 | }
|
---|
87 | }
|
---|
88 | }
|
---|
89 | }
|
---|
90 |
|
---|
91 | material PRMDemo/whitewire : PRMDemo/Base
|
---|
92 | {
|
---|
93 | technique maintechnique
|
---|
94 | {
|
---|
95 | pass mainpass
|
---|
96 | {
|
---|
97 | texture_unit color
|
---|
98 | {
|
---|
99 | texture whitewire.bmp
|
---|
100 | }
|
---|
101 | }
|
---|
102 | }
|
---|
103 | }
|
---|
104 |
|
---|
105 | material PRMDemo/iron : PRMDemo/Base
|
---|
106 | {
|
---|
107 | technique maintechnique
|
---|
108 | {
|
---|
109 | pass mainpass
|
---|
110 | {
|
---|
111 | texture_unit color
|
---|
112 | {
|
---|
113 | texture w2.jpg
|
---|
114 | }
|
---|
115 | }
|
---|
116 | }
|
---|
117 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.