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 prefer
|
---|
14 | }
|
---|
15 |
|
---|
16 | vertex_program GTP/PathMap_ComputeWeights_VS hlsl
|
---|
17 | {
|
---|
18 | source PathMapWeightCompute.hlsl
|
---|
19 | entry_point vsComputeWeights
|
---|
20 | target vs_2_0
|
---|
21 | }
|
---|
22 |
|
---|
23 | fragment_program GTP/PathMap_ComputeWeights_PS hlsl
|
---|
24 | {
|
---|
25 | source PathMapWeightCompute.hlsl
|
---|
26 | entry_point psComputeWeights
|
---|
27 | target ps_3_0
|
---|
28 | }
|
---|
29 |
|
---|
30 | fragment_program GTP/PathMap_ComputeWeights_Point_PS hlsl
|
---|
31 | {
|
---|
32 | source PathMapWeightCompute.hlsl
|
---|
33 | entry_point psComputeWeightsPoint
|
---|
34 | target ps_3_0
|
---|
35 | }
|
---|
36 |
|
---|
37 | material GTP/PathMap_ComputeWeights
|
---|
38 | {
|
---|
39 | technique
|
---|
40 | {
|
---|
41 | pass
|
---|
42 | {
|
---|
43 | depth_check off
|
---|
44 | depth_write off
|
---|
45 | cull_hardware none
|
---|
46 | scene_blend add
|
---|
47 | vertex_program_ref GTP/PathMap_ComputeWeights_VS
|
---|
48 | {
|
---|
49 |
|
---|
50 | }
|
---|
51 | fragment_program_ref GTP/PathMap_ComputeWeights_PS
|
---|
52 | {
|
---|
53 | }
|
---|
54 | texture_unit //entrypoint texture
|
---|
55 | {
|
---|
56 | filtering none
|
---|
57 | }
|
---|
58 | texture_unit shadow_map //stores distances
|
---|
59 | {
|
---|
60 |
|
---|
61 | }
|
---|
62 | }
|
---|
63 |
|
---|
64 | }
|
---|
65 | }
|
---|
66 |
|
---|
67 | material GTP/PathMap_ComputeWeights_Point
|
---|
68 | {
|
---|
69 | technique
|
---|
70 | {
|
---|
71 | pass
|
---|
72 | {
|
---|
73 | depth_check off
|
---|
74 | depth_write off
|
---|
75 | cull_hardware none
|
---|
76 | scene_blend add
|
---|
77 | vertex_program_ref GTP/PathMap_ComputeWeights_VS
|
---|
78 | {
|
---|
79 |
|
---|
80 | }
|
---|
81 | fragment_program_ref GTP/PathMap_ComputeWeights_Point_PS
|
---|
82 | {
|
---|
83 | }
|
---|
84 | texture_unit //entrypoint texture
|
---|
85 | {
|
---|
86 | filtering none
|
---|
87 | }
|
---|
88 | texture_unit shadow_map //stores distances
|
---|
89 | {
|
---|
90 |
|
---|
91 | }
|
---|
92 | }
|
---|
93 |
|
---|
94 | }
|
---|
95 | }
|
---|
96 |
|
---|
97 | fragment_program GTP/PathMap_SumWeights_PS hlsl
|
---|
98 | {
|
---|
99 | source PathMapWeightCompute.hlsl
|
---|
100 | entry_point psSumWeights
|
---|
101 | target ps_3_0
|
---|
102 | flow_control prefer
|
---|
103 | }
|
---|
104 |
|
---|
105 | material GTP/PathMap_SumWeights
|
---|
106 | {
|
---|
107 | technique
|
---|
108 | {
|
---|
109 | pass
|
---|
110 | {
|
---|
111 | depth_check off
|
---|
112 | cull_hardware none
|
---|
113 | vertex_program_ref GTP/PathMap_ComputeWeights_VS
|
---|
114 | {
|
---|
115 |
|
---|
116 | }
|
---|
117 | fragment_program_ref GTP/PathMap_SumWeights_PS
|
---|
118 | {
|
---|
119 | }
|
---|
120 | texture_unit //entrypoint texture
|
---|
121 | {
|
---|
122 | filtering none
|
---|
123 | }
|
---|
124 | texture_unit //entrypoint weight texture
|
---|
125 | {
|
---|
126 | filtering none
|
---|
127 | }
|
---|
128 | texture_unit //cluster length
|
---|
129 | {
|
---|
130 | filtering none
|
---|
131 | }
|
---|
132 | }
|
---|
133 |
|
---|
134 | }
|
---|
135 | }
|
---|
136 |
|
---|
137 | vertex_program GTP/EPDisplayVS hlsl
|
---|
138 | {
|
---|
139 | source PathMapWeightCompute.hlsl
|
---|
140 | entry_point EntryPointDisplayVS
|
---|
141 | target vs_2_0
|
---|
142 | }
|
---|
143 | fragment_program GTP/EPDisplayPS hlsl
|
---|
144 | {
|
---|
145 | source PathMapWeightCompute.hlsl
|
---|
146 | entry_point EntryPointDisplayPS
|
---|
147 | target ps_2_0
|
---|
148 | }
|
---|
149 |
|
---|
150 | material GTP/PM/EPBillboards
|
---|
151 | {
|
---|
152 | technique
|
---|
153 | {
|
---|
154 | pass
|
---|
155 | {
|
---|
156 | polygon_mode points
|
---|
157 | point_size 10
|
---|
158 | vertex_program_ref GTP/EPDisplayVS
|
---|
159 | {
|
---|
160 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
161 | }
|
---|
162 | fragment_program_ref GTP/EPDisplayPS
|
---|
163 | {
|
---|
164 | }
|
---|
165 | texture_unit
|
---|
166 | {
|
---|
167 | filtering none
|
---|
168 | texture MainLightPM_WEIGHT_MAP_ALL
|
---|
169 | }
|
---|
170 | texture_unit
|
---|
171 | {
|
---|
172 | filtering none
|
---|
173 | texture MainLightPM_WEIGHT_MAP
|
---|
174 | }
|
---|
175 | }
|
---|
176 | }
|
---|
177 | } |
---|