Line | |
---|
1 | vertex_program GTP/PathMap_VS hlsl
|
---|
2 | {
|
---|
3 | source PathMap.hlsl
|
---|
4 | entry_point vsWalk
|
---|
5 | target vs_2_0
|
---|
6 | }
|
---|
7 |
|
---|
8 | fragment_program GTP/PathMap_PS hlsl
|
---|
9 | {
|
---|
10 | source PathMap.hlsl
|
---|
11 | entry_point psWalk
|
---|
12 | target ps_3_0
|
---|
13 | flow_control avoid
|
---|
14 | }
|
---|
15 |
|
---|
16 | material PRMDemo/Base
|
---|
17 | {
|
---|
18 | technique maintechnique
|
---|
19 | {
|
---|
20 | pass mainpass
|
---|
21 | {
|
---|
22 | IllumTechniques
|
---|
23 | {
|
---|
24 | RenderTechnique PathMap
|
---|
25 | {
|
---|
26 |
|
---|
27 | }
|
---|
28 | }
|
---|
29 | texture_unit color
|
---|
30 | {
|
---|
31 | colour_op replace
|
---|
32 | }
|
---|
33 | }
|
---|
34 |
|
---|
35 | }
|
---|
36 | }
|
---|
37 |
|
---|
38 |
|
---|
39 | material PRMDemo/rustyMetal : PRMDemo/Base
|
---|
40 | {
|
---|
41 | technique maintechnique
|
---|
42 | {
|
---|
43 | pass mainpass
|
---|
44 | {
|
---|
45 | texture_unit color
|
---|
46 | {
|
---|
47 | texture wrtile.jpg
|
---|
48 | }
|
---|
49 | }
|
---|
50 | }
|
---|
51 | }
|
---|
52 |
|
---|
53 | material PRMDemo/redwire : PRMDemo/Base
|
---|
54 | {
|
---|
55 | technique maintechnique
|
---|
56 | {
|
---|
57 | pass mainpass
|
---|
58 | {
|
---|
59 | texture_unit color
|
---|
60 | {
|
---|
61 | texture redwire.bmp
|
---|
62 | }
|
---|
63 | }
|
---|
64 | }
|
---|
65 | }
|
---|
66 |
|
---|
67 | material PRMDemo/greenwire : PRMDemo/Base
|
---|
68 | {
|
---|
69 | technique maintechnique
|
---|
70 | {
|
---|
71 | pass mainpass
|
---|
72 | {
|
---|
73 | texture_unit color
|
---|
74 | {
|
---|
75 | texture greenwire.bmp
|
---|
76 | }
|
---|
77 | }
|
---|
78 | }
|
---|
79 | }
|
---|
80 |
|
---|
81 | material PRMDemo/whitewire : PRMDemo/Base
|
---|
82 | {
|
---|
83 | technique maintechnique
|
---|
84 | {
|
---|
85 | pass mainpass
|
---|
86 | {
|
---|
87 | texture_unit color
|
---|
88 | {
|
---|
89 | texture whitewire.bmp
|
---|
90 | }
|
---|
91 | }
|
---|
92 | }
|
---|
93 | }
|
---|
94 |
|
---|
95 | material PRMDemo/iron : PRMDemo/Base
|
---|
96 | {
|
---|
97 | technique maintechnique
|
---|
98 | {
|
---|
99 | pass mainpass
|
---|
100 | {
|
---|
101 | texture_unit color
|
---|
102 | {
|
---|
103 | texture w2.jpg
|
---|
104 | }
|
---|
105 | }
|
---|
106 | }
|
---|
107 | }
|
---|
108 |
|
---|
109 |
|
---|
110 | vertex_program GTP/PathMap_ComputeWeights_VS hlsl
|
---|
111 | {
|
---|
112 | source PathMapWeightCompute.hlsl
|
---|
113 | entry_point vsComputeWeights
|
---|
114 | target vs_2_0
|
---|
115 | }
|
---|
116 |
|
---|
117 | fragment_program GTP/PathMap_ComputeWeights_PS hlsl
|
---|
118 | {
|
---|
119 | source PathMapWeightCompute.hlsl
|
---|
120 | entry_point psComputeWeights
|
---|
121 | target ps_2_0
|
---|
122 | }
|
---|
123 |
|
---|
124 | material GTP/PathMap_ComputeWeights
|
---|
125 | {
|
---|
126 | technique
|
---|
127 | {
|
---|
128 | pass
|
---|
129 | {
|
---|
130 | vertex_program_ref GTP/PathMap_ComputeWeights_VS
|
---|
131 | {
|
---|
132 |
|
---|
133 | }
|
---|
134 | fragment_program_ref GTP/PathMap_ComputeWeights_PS
|
---|
135 | {
|
---|
136 | }
|
---|
137 | }
|
---|
138 | }
|
---|
139 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.